]> git.pld-linux.org Git - packages/glibc.git/commitdiff
ccache hack
authorElan Ruusamäe <glen@delfi.ee>
Tue, 11 Oct 2016 05:35:38 +0000 (08:35 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 11 Oct 2016 05:35:46 +0000 (08:35 +0300)
glibc.spec

index df0651edf3525e63602ff31dec74f5c08453ea50..66f628fbb0e49ca318b69f78d93e6e4e810d9c1a 100644 (file)
@@ -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
This page took 0.041649 seconds and 4 git commands to generate.