packages: lvm2/lvm2.spec - fix ccache compile (again)

glen glen at pld-linux.org
Tue Jul 19 23:30:50 CEST 2011


Author: glen                         Date: Tue Jul 19 21:30:50 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix ccache compile (again)

---- Files affected:
packages/lvm2:
   lvm2.spec (1.178 -> 1.179) 

---- Diffs:

================================================================
Index: packages/lvm2/lvm2.spec
diff -u packages/lvm2/lvm2.spec:1.178 packages/lvm2/lvm2.spec:1.179
--- packages/lvm2/lvm2.spec:1.178	Sat May 21 11:38:23 2011
+++ packages/lvm2/lvm2.spec	Tue Jul 19 23:30:45 2011
@@ -261,7 +261,7 @@
 %if %{with initrd}
 %{?with_glibc:export CC="%{__cc}"}
 %{?with_uClibc:export CC="%{_target_cpu}-uclibc-gcc"}
-%{?with_dietlibc:export CC="diet %{__cc}"}
+%{?with_dietlibc:cc="%{__cc}"; export CC="diet ${cc#ccache }"}
 
 %configure \
 	ac_cv_lib_dl_dlopen=no \
@@ -444,6 +444,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.179  2011/07/19 21:30:45  glen
+- fix ccache compile (again)
+
 Revision 1.178  2011/05/21 09:38:23  arekm
 - up to 2.02.85 (TODO: lvm2-monitor needs to be PLDized)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lvm2/lvm2.spec?r1=1.178&r2=1.179&f=u



More information about the pld-cvs-commit mailing list