SPECS (AC-branch): glibc.spec - remove ccache from %{__cc} -- diet...

glen glen at pld-linux.org
Tue Nov 13 15:52:11 CET 2007


Author: glen                         Date: Tue Nov 13 14:52:11 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- remove ccache from %{__cc} -- diet passes -n which ccache doesn't understand

---- Files affected:
SPECS:
   glibc.spec (1.583.2.92 -> 1.583.2.93) 

---- Diffs:

================================================================
Index: SPECS/glibc.spec
diff -u SPECS/glibc.spec:1.583.2.92 SPECS/glibc.spec:1.583.2.93
--- SPECS/glibc.spec:1.583.2.92	Tue Nov 13 15:27:27 2007
+++ SPECS/glibc.spec	Tue Nov 13 15:52:06 2007
@@ -1039,7 +1039,8 @@
 %endif
 
 %if %{without cross}
-diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
+CC="%{__cc}"
+diet ${CC#*ccache } %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
 %endif
 
 %install
@@ -1706,6 +1707,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.583.2.93  2007-11-13 14:52:06  glen
+- remove ccache from %{__cc} -- diet passes -n which ccache doesn't understand
+
 Revision 1.583.2.92  2007-11-13 14:27:27  glen
 - or rather this way
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/glibc.spec?r1=1.583.2.92&r2=1.583.2.93&f=u



More information about the pld-cvs-commit mailing list