diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-25 20:02:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-25 20:02:28 +0000 |
commit | fc5b4218ba30945e9d9642ba0879842ec7cbc7be (patch) | |
tree | 30811e77bc0bb5eb8f9cbc5947168b2b26f2c5b3 /main/gcc | |
parent | 36a11f041faf16a20b92cdb0ad23ed723d19c3cd (diff) | |
download | aports-fc5b4218ba30945e9d9642ba0879842ec7cbc7be.tar.bz2 aports-fc5b4218ba30945e9d9642ba0879842ec7cbc7be.tar.xz |
main/gcc: build fix for x86_64 - let configure script find arch
Diffstat (limited to 'main/gcc')
-rw-r--r-- | main/gcc/APKBUILD | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD index 2855a8f76..19c857f03 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 \ |