summaryrefslogtreecommitdiffstats
path: root/main/gcc
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-09-20 21:22:29 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-09-20 22:30:39 +0000
commitaa9aec2991811b427ebcf68f6385bdc9d4012202 (patch)
tree574a751ff2d43a2e737a72450c39e3dc13c00ea1 /main/gcc
parent69ffd73cac31ecc111e2eaa80158429c1195c97b (diff)
downloadaports-aa9aec2991811b427ebcf68f6385bdc9d4012202.tar.bz2
aports-aa9aec2991811b427ebcf68f6385bdc9d4012202.tar.xz
main/gcc: add host and target to configure opts
(cherry picked from commit a670eaaf8fa1aed677f48476860f4714f2db78c0)
Diffstat (limited to 'main/gcc')
-rw-r--r--main/gcc/APKBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index 337a368f1..e4d64eca1 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -59,6 +59,8 @@ build ()
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--build=${CHOST:-$_chost} \
+ --host=${CHOST:-$_chost} \
+ --target=${CHOST:-$_chost} \
--disable-altivec \
--disable-checking \
--disable-fixed-point \