forked from rpms/glibc
Remove add-on support (already gone upstream)
This commit is contained in:
parent
90612b2709
commit
dc905411d5
@ -903,14 +903,13 @@ EnableKernel="--enable-kernel=%{enablekernel}"
|
|||||||
# Save the used compiler and options into the file "Gcc" for use later
|
# Save the used compiler and options into the file "Gcc" for use later
|
||||||
# by %%install.
|
# by %%install.
|
||||||
echo "$GCC" > Gcc
|
echo "$GCC" > Gcc
|
||||||
AddOns=`echo */configure | sed -e 's!/configure!!g;s!\(nptl\|powerpc-cpu\)\( \|$\)!!g;s! \+$!!;s! !,!g;s!^!,!;/^,\*$/d'`
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# build()
|
# build()
|
||||||
# Build glibc in `build-%{target}$1', passing the rest of the arguments
|
# Build glibc in `build-%{target}$1', passing the rest of the arguments
|
||||||
# as CFLAGS to the build (not the same as configure CFLAGS). Several
|
# as CFLAGS to the build (not the same as configure CFLAGS). Several
|
||||||
# global values are used to determine build flags, add-ons, kernel
|
# global values are used to determine build flags, kernel version,
|
||||||
# version, system tap support, etc.
|
# system tap support, etc.
|
||||||
##############################################################################
|
##############################################################################
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
@ -928,7 +927,6 @@ build()
|
|||||||
configure_CFLAGS="$build_CFLAGS -fno-asynchronous-unwind-tables"
|
configure_CFLAGS="$build_CFLAGS -fno-asynchronous-unwind-tables"
|
||||||
../configure CC="$GCC" CXX="$GXX" CFLAGS="$configure_CFLAGS" \
|
../configure CC="$GCC" CXX="$GXX" CFLAGS="$configure_CFLAGS" \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--enable-add-ons=$AddOns \
|
|
||||||
--with-headers=%{_prefix}/include $EnableKernel \
|
--with-headers=%{_prefix}/include $EnableKernel \
|
||||||
--enable-bind-now \
|
--enable-bind-now \
|
||||||
--build=%{target} \
|
--build=%{target} \
|
||||||
|
Loading…
Reference in New Issue
Block a user