X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=src%2Frpm%2FSPECS%2Fglibc.spec;fp=src%2Frpm%2FSPECS%2Fglibc.spec;h=c1054760e3b635b5b4c8402e32ee21f35777ab77;hp=5bdcb32004b969fe48fd4280b36f1c2729063cdc;hb=49c6d254829a1414427e8f5e7be6061f16fd439d;hpb=b70f8223a800ec14516046617cdd7980768452a2 diff --git a/src/rpm/SPECS/glibc.spec b/src/rpm/SPECS/glibc.spec index 5bdcb32..c105476 100644 --- a/src/rpm/SPECS/glibc.spec +++ b/src/rpm/SPECS/glibc.spec @@ -1,9 +1,9 @@ %define glibcrelease 10 -%define auxarches i586 i686 athlon sparcv9 alphaev6 +%define auxarches sparcv9 alphaev6 Summary: The GNU libc libraries. Name: glibc Version: 2.2.2 -Release: %{glibcrelease} +Release: %{glibcrelease}_staticnss Copyright: LGPL Group: System Environment/Libraries Source: %{name}-%{version}.tar.bz2 @@ -168,8 +168,9 @@ EnableKernel="--enable-kernel=%{enablekernel}" EnableKernel="$EnableKernel --disable-profile" %endif echo "$BuildFlags" > ../BuildFlags -CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \ +CC="$GCC -Lnss -Lbuild-%{_target_cpu}-linux/nss" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \ --enable-add-ons=yes --without-cvs $EnableKernel \ + --enable-static-nss \ %{_target_cpu}-redhat-linux if [ -x /usr/bin/getconf ] ; then numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN) @@ -198,6 +199,7 @@ BuildFlags=`cat ../BuildFlags` EnableKernel="--enable-kernel=%{enablekernel2} --disable-profile" CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \ --enable-add-ons=yes --without-cvs $EnableKernel \ + --enable-static-nss \ %{_target_cpu}-redhat-linux if [ -x /usr/bin/getconf ] ; then numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN)