]> git.pld-linux.org Git - packages/popt.git/commitdiff
be friendly with ccache and diet
authorElan Ruusamäe <glen@delfi.ee>
Sun, 16 Sep 2012 12:54:22 +0000 (15:54 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 16 Sep 2012 12:54:22 +0000 (15:54 +0300)
popt.spec

index 94023c61ae9cf4275a3f9a0b7abddf945a069a28..143e2bfde4f38783c8ca91cde72fd21ca46ae2d1 100644 (file)
--- a/popt.spec
+++ b/popt.spec
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_without dietlibc        # don't build static dietlibc library
-#
+
 Summary:       C library for parsing command line parameters
 Summary(de.UTF-8):     C-Library zum Parsen von Befehlszeilenparametern
 Summary(fr.UTF-8):     Bibliothèque C pour analyser les paramètres de la ligne de commande
@@ -170,8 +170,9 @@ sed -i -e 's#po/Makefile.in intl/Makefile##g' configure.ac
 %{__automake} -i
 
 %if %{with dietlibc}
+__cc="%{__cc}"
 %configure \
-       CC="diet %{__cc} %{rpmcflags} %{rpmldflags} -Os -static" \
+       CC="diet ${__cc#ccache } %{rpmcflags} %{rpmldflags} -Os -static" \
        ac_cv_func_stpcpy=yes \
        --enable-static \
        --disable-shared
This page took 0.206072 seconds and 4 git commands to generate.