From dc905411d5b45d40e511063a5a1624b4cc5ac2a5 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 19 Jan 2018 08:35:09 +0100 Subject: [PATCH] Remove add-on support (already gone upstream) --- glibc.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/glibc.spec b/glibc.spec index 4e5ba15..9b534ea 100644 --- a/glibc.spec +++ b/glibc.spec @@ -903,14 +903,13 @@ EnableKernel="--enable-kernel=%{enablekernel}" # Save the used compiler and options into the file "Gcc" for use later # by %%install. echo "$GCC" > Gcc -AddOns=`echo */configure | sed -e 's!/configure!!g;s!\(nptl\|powerpc-cpu\)\( \|$\)!!g;s! \+$!!;s! !,!g;s!^!,!;/^,\*$/d'` ############################################################################## # build() # Build glibc in `build-%{target}$1', passing the rest of the arguments # as CFLAGS to the build (not the same as configure CFLAGS). Several -# global values are used to determine build flags, add-ons, kernel -# version, system tap support, etc. +# global values are used to determine build flags, kernel version, +# system tap support, etc. ############################################################################## build() { @@ -928,7 +927,6 @@ build() configure_CFLAGS="$build_CFLAGS -fno-asynchronous-unwind-tables" ../configure CC="$GCC" CXX="$GXX" CFLAGS="$configure_CFLAGS" \ --prefix=%{_prefix} \ - --enable-add-ons=$AddOns \ --with-headers=%{_prefix}/include $EnableKernel \ --enable-bind-now \ --build=%{target} \