summaryrefslogtreecommitdiff
path: root/package/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-16 07:43:40 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-16 07:43:40 (GMT)
commit6b521744a3b178dc910a46191aed8cf75de1cee7 (patch)
treeba1145b884181d1eff88d1e97c6e4987019672cc /package/gcc
parent539ab4cd9ba3a24038d7295bce635e21698c9051 (diff)
add configure args specific for powerpc
Diffstat (limited to 'package/gcc')
-rw-r--r--package/gcc/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index f0e1750..e05f5c0 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -48,6 +48,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) \