aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-11-25 20:02:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-25 20:02:28 +0000
commitfc5b4218ba30945e9d9642ba0879842ec7cbc7be (patch)
tree30811e77bc0bb5eb8f9cbc5947168b2b26f2c5b3 /main/gcc
parent36a11f041faf16a20b92cdb0ad23ed723d19c3cd (diff)
downloadaports-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/APKBUILD3
1 files changed, 1 insertions, 2 deletions
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 \