aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-27 00:15:37 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-27 00:15:37 -0600
commit44de5cd6eb5974ce3d531474d12d3ba078a1d8f0 (patch)
tree421aa682241857b35c7623f99a86b8b453a3f72b /main/gcc/APKBUILD
parent5840fb368374b8bff1c12ea711dc36f3e4fb03fe (diff)
downloadaports-44de5cd6eb5974ce3d531474d12d3ba078a1d8f0.tar.bz2
aports-44de5cd6eb5974ce3d531474d12d3ba078a1d8f0.tar.xz
main/gcc: --enable-target-optspace is broken on gcc, give up entirely.
Diffstat (limited to 'main/gcc/APKBUILD')
-rw-r--r--main/gcc/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index e69d23163d..3ccfd40477 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -123,6 +123,11 @@ build() {
_languages="$_languages,java"
fi
+ # --enable-target-optspace is broken on powerpc
+ if [ "$CARCH" != "powerpc" ]; then
+ _target_optspace="--enable-target-optspace"
+ fi
+
msg "Building the following:"
echo ""
echo " CBUILD=$CBUILD"
@@ -130,6 +135,7 @@ build() {
echo " CTARGET=$CTARGET"
echo " languages=$_languages"
echo " dynamic_linker=$_dynamic_linker"
+ echo " target_optspace=$_target_optspace"
echo ""
mkdir -p "$_builddir"
@@ -154,7 +160,7 @@ build() {
--enable-esp \
--enable-languages=$_languages \
--enable-shared \
- --enable-target-optspace \
+ $_target_optspace \
--enable-tls \
--enable-threads \
$_dynamic_linker \