SPECS: dmraid.spec - pass CC and CFLAGS

sparky sparky at pld-linux.org
Sun Feb 26 19:35:19 CET 2006


Author: sparky                       Date: Sun Feb 26 18:35:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass CC and CFLAGS

---- Files affected:
SPECS:
   dmraid.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/dmraid.spec
diff -u SPECS/dmraid.spec:1.19 SPECS/dmraid.spec:1.20
--- SPECS/dmraid.spec:1.19	Mon Oct 17 21:23:16 2005
+++ SPECS/dmraid.spec	Sun Feb 26 19:35:13 2006
@@ -57,13 +57,17 @@
 %if %{with initrd}
 %configure \
 	--enable-static_link
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
 cp -f tools/dmraid{,-initrd}
 %{__make} clean
 %endif
 
 %configure
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -93,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2006/02/26 18:35:13  sparky
+- pass CC and CFLAGS
+
 Revision 1.19  2005/10/17 19:23:16  qboosh
 - removed obsolete bigendian-fix patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dmraid.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list