From 1ff9a9e47b85c957568fd889654ae3dd6549eb53 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 11 Feb 2008 19:56:58 +0200 Subject: [PATCH] Fixed glibc to use extraconfopt instead of confopt, which get reseted after calling set_confopt Note: If in doubt please use extraconfopt instead of confopt as extraconfopt's will be also available after calling set_confopt! --- base/glibc/glibc.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/glibc/glibc.conf b/base/glibc/glibc.conf index e0370d0ff..74c830517 100644 --- a/base/glibc/glibc.conf +++ b/base/glibc/glibc.conf @@ -37,7 +37,7 @@ if atstage toolchain; then hook_add postmake 5 'pkg_glibc_postmake_headers' else - var_append confopt " " "--with-headers=$root/usr/include" + var_append extraconfopt " " "--with-headers=$root/usr/include" if [ "$SDECFG_MULTILIB" == 1 ] ; then # set the ABI for each buildloop @@ -88,10 +88,10 @@ pkg_glibc_objdir(){ } hook_add preconf 9 "pkg_glibc_objdir" -var_append confopt " " "--with-gnu-binutils --build=${arch_build} --host=${arch_target}" +var_append extraconfopt " " "--with-gnu-binutils --build=${arch_build} --host=${arch_target}" if pkginstalled libgd; then - var_append confopt " " "--with-gd=/usr --with-gd-lib=/usr/lib --with-gd-include=/usr/include" + var_append extraconfopt " " "--with-gd=/usr --with-gd-lib=/usr/lib --with-gd-include=/usr/include" fi # --enable-add-ons expects a comma seperated list of add-ons