]> git.pld-linux.org Git - packages/cpuid.git/commitdiff
- added -Makefile patch to pass CC
authordarekr <darekr@pld-linux.org>
Sat, 8 Jul 2006 23:05:09 +0000 (23:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cpuid.spec -> 1.10

cpuid.spec

index e888841c3e1a9827634f2f572d206be64b82b427..d517eab20313df2d7fed91c9ad212045df324961 100644 (file)
@@ -8,6 +8,7 @@ Group:          Applications/System
 Source0:       http://www.ka9q.net/code/cpuid/%{name}-%{version}.tar.gz
 # Source0-md5: 641af7bb12e1feb0b0d97ed68908297c
 URL:           http://www.ka9q.net/code/cpuid/
+Patch0:                %{name}-Makefile.patch
 ExclusiveArch: %{ix86} %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -20,9 +21,11 @@ procesora (x86).
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make} \
+       CC="%{__cc}" \
        CFLAGS="%{rpmcflags} -Wall"
 
 %install
This page took 0.149623 seconds and 4 git commands to generate.