SPECS (AC-branch): glibc.spec - if configure_cache is enabled use ...

glen glen at pld-linux.org
Tue Nov 13 15:25:16 CET 2007


Author: glen                         Date: Tue Nov 13 14:25:16 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- if configure_cache is enabled use different cache file for linuxthreads and nptl builds

---- Files affected:
SPECS:
   glibc.spec (1.583.2.90 -> 1.583.2.91) 

---- Diffs:

================================================================
Index: SPECS/glibc.spec
diff -u SPECS/glibc.spec:1.583.2.90 SPECS/glibc.spec:1.583.2.91
--- SPECS/glibc.spec:1.583.2.90	Mon Nov 12 13:07:50 2007
+++ SPECS/glibc.spec	Tue Nov 13 15:25:10 2007
@@ -983,13 +983,16 @@
 %endif
 %if %{with linuxthreads}
 ../%configure \
+%if "%{!?configure_cache:0}%{?configure_cache}" == "1"
+	--cache-file=../config.cache \
+%endif
 	--enable-kernel="%{min_kernel}" \
 	--%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
 	--with%{!?with___thread:out}-__thread \
 	--with-headers=%{sysheaders} \
 	--with%{!?with_selinux:out}-selinux \
 	--with%{!?with_tls:out}-tls \
-        --enable-add-ons=linuxthreads \
+	--enable-add-ons=linuxthreads \
 	--enable-profile
 %{__make}
 %endif
@@ -1001,12 +1004,15 @@
 cd builddir-nptl
 %endif
 ../%configure \
+%if "%{!?configure_cache:0}%{?configure_cache}" == "1"
+	--cache-file=../config.cache-nptl \
+%endif
 	--enable-kernel="%{nptl_min_kernel}" \
 	--%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
 	--with-headers=%{sysheaders} \
 	--with%{!?with_selinux:out}-selinux \
 	--with-tls \
-        --enable-add-ons=nptl \
+	--enable-add-ons=nptl \
 	--enable-profile
 # simulate cross-compiling so we can perform dual builds on 2.4.x kernel
 %{__make} \
@@ -1705,6 +1711,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.583.2.91  2007-11-13 14:25:10  glen
+- if configure_cache is enabled use different cache file for linuxthreads and nptl builds
+
 Revision 1.583.2.90  2007-11-12 12:07:50  glen
 - converted to utf8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/glibc.spec?r1=1.583.2.90&r2=1.583.2.91&f=u



More information about the pld-cvs-commit mailing list