summaryrefslogtreecommitdiff
path: root/package/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-16 15:34:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-16 15:34:25 +0100
commit18a6922a938023cb061b7cd9895412549cb17288 (patch)
tree4770ca12911789c0316b013f906e46c1287e8601 /package/gcc/Makefile
parent1e5620307b6ad5ce451c72f90e83f8f263c2d05f (diff)
parent81a6996f5152a31c2e36b5c7cef61e6ab4a2ceeb (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gcc/Makefile')
-rw-r--r--package/gcc/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 976497cba..06a2daf3a 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -46,6 +46,13 @@ CONFIGURE_ARGS+= --enable-languages=c,c++
else
CONFIGURE_ARGS+= --enable-languages=c
endif
+ifeq ($(ARCH),powerpc)
+CONFIGURE_ARGS+= --disable-target-optspace --with-long-double-64 --enable-secureplt
+TARGET_CFLAGS+= '-Wl,--secure-plt'
+else
+CONFIGURE_ARGS+= --enable-target-optspace
+endif
+
CONFIGURE_ENV+= have_sys_sdt_h=no
CONFIGURE_ARGS+= --host=$(REAL_GNU_TARGET_NAME) \