SPECS: pmac-utils.spec - pass CC and CFLAGS

sparky sparky at pld-linux.org
Sun Feb 26 17:25:21 CET 2006


Author: sparky                       Date: Sun Feb 26 16:25:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass CC and CFLAGS

---- Files affected:
SPECS:
   pmac-utils.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/pmac-utils.spec
diff -u SPECS/pmac-utils.spec:1.6 SPECS/pmac-utils.spec:1.7
--- SPECS/pmac-utils.spec:1.6	Sat Nov 22 16:01:53 2003
+++ SPECS/pmac-utils.spec	Sun Feb 26 17:25:15 2006
@@ -30,11 +30,15 @@
 %patch0 -p1
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT exec_prefix=%{_prefix} install
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	exec_prefix=%{_prefix}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -52,6 +56,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2006/02/26 16:25:15  sparky
+- pass CC and CFLAGS
+
 Revision 1.6  2003/11/22 15:01:53  speedy
 - release up to 6 - (AC)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pmac-utils.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list