From 44de5cd6eb5974ce3d531474d12d3ba078a1d8f0 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 27 Feb 2011 00:15:37 -0600 Subject: main/gcc: --enable-target-optspace is broken on gcc, give up entirely. --- main/gcc/APKBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD index e69d23163..3ccfd4047 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 \ -- cgit v1.2.3