]> git.pld-linux.org Git - packages/systemd.git/commitdiff
fix build with configure cache enabled
authorElan Ruusamäe <glen@delfi.ee>
Wed, 5 Aug 2015 09:19:12 +0000 (12:19 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 5 Aug 2015 09:19:12 +0000 (12:19 +0300)
systemd.spec

index ecf4fc7d279201525ce4361163cf2c57be3a3e69..20b6a1f3c4eab95435d39f7aa2b3073b8e1c9164 100644 (file)
@@ -668,7 +668,7 @@ cp -p %{SOURCE2} src/systemd_booted.c
 %{__autoheader}
 %{__automake}
 
-for PYTHON in "%{__python}" %{?with_python3:"%{__python3}"} ; do
+for PYTHON in %{__python} %{?with_python3:%{__python3}}; do
 
 %configure \
        QUOTAON=/sbin/quotaon \
@@ -679,6 +679,9 @@ for PYTHON in "%{__python}" %{?with_python3:"%{__python3}"} ; do
        KEXEC=/sbin/kexec \
        PYTHON="$PYTHON" \
        PYTHON_BINARY="$PYTHON" \
+%if "%{?configure_cache}" == "1"
+       --cache-file=%{?configure_cache_file}%{!?configure_cache_file:configure}-$(basename $PYTHON).cache \
+%endif
        %{?debug:--enable-debug} \
        %{__enable_disable audit} \
        %{__enable_disable cryptsetup libcryptsetup} \
This page took 0.381324 seconds and 4 git commands to generate.