packages: module-init-tools/module-init-tools.spec - be ccache friendly

glen glen at pld-linux.org
Fri Feb 11 06:58:04 CET 2011


Author: glen                         Date: Fri Feb 11 05:58:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- be ccache friendly

---- Files affected:
packages/module-init-tools:
   module-init-tools.spec (1.85 -> 1.86) 

---- Diffs:

================================================================
Index: packages/module-init-tools/module-init-tools.spec
diff -u packages/module-init-tools/module-init-tools.spec:1.85 packages/module-init-tools/module-init-tools.spec:1.86
--- packages/module-init-tools/module-init-tools.spec:1.85	Sun Aug 15 10:13:33 2010
+++ packages/module-init-tools/module-init-tools.spec	Fri Feb 11 06:57:59 2011
@@ -82,8 +82,10 @@
 %{__automake}
 
 %if %{with initrd}
+dietcc="%{__cc}"
+dietcc=${dietcc#*ccache }
 %configure \
-	%{?with_dietlibc:CC="diet %{__cc} %{rpmcflags} %{rpmldflags} -Os -static"} \
+	%{?with_dietlibc:CC="${dietcc} %{rpmcflags} %{rpmldflags} -Os -static"} \
 	%{!?with_dietlibc:CC="%{__cc} -static"} \
 	%{!?with_dietlibc:--enable-zlib}
 
@@ -182,6 +184,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.86  2011/02/11 05:57:59  glen
+- be ccache friendly
+
 Revision 1.85  2010/08/15 08:13:33  qboosh
 - updated to 3.12
 - updated insmod-zlib,modprobe_d patches
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/module-init-tools/module-init-tools.spec?r1=1.85&r2=1.86&f=u



More information about the pld-cvs-commit mailing list