[packages/glibc] ccache hack

glen glen at pld-linux.org
Tue Oct 11 07:38:56 CEST 2016


commit 35c7912eebf63097192e156f474203c261034633
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Oct 11 08:35:38 2016 +0300

    ccache hack

 glibc.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/glibc.spec b/glibc.spec
index df0651e..66f628f 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1054,7 +1054,9 @@ env LANGUAGE=C LC_ALL=C \
 
 %if %{without cross}
 CC="%{__cc}"
-diet ${CC#*ccache } %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
+CC=${CC#*ccache }
+CC=${CC#%{_libdir}/ccache/}
+diet ${CC} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/35c7912eebf63097192e156f474203c261034633



More information about the pld-cvs-commit mailing list