From fc5b4218ba30945e9d9642ba0879842ec7cbc7be Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 25 Nov 2010 20:02:28 +0000 Subject: main/gcc: build fix for x86_64 - let configure script find arch --- main/gcc/APKBUILD | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'main') diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD index 2855a8f769..19c857f039 100644 --- a/main/gcc/APKBUILD +++ b/main/gcc/APKBUILD @@ -93,7 +93,7 @@ prepare() { } build() { - local _languages= _dynamic_linker= _arch=${CHOST%%-*} + local _languages= _dynamic_linker= cd "$_gccdir" export CFLAGS="-fno-stack-protector" [ -z "$CBUILD" ] && CBUILD="$CHOST" @@ -153,7 +153,6 @@ build() { --enable-target-optspace \ --enable-tls \ --enable-threads \ - --with-arch=$_arch \ $_dynamic_linker \ --with-dynamic-linker-prefix=/lib \ --with-system-zlib \ -- cgit v1.2.3