diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-16 08:43:40 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-16 08:43:40 +0100 |
commit | 6b521744a3b178dc910a46191aed8cf75de1cee7 (patch) | |
tree | ba1145b884181d1eff88d1e97c6e4987019672cc /package/gcc | |
parent | 539ab4cd9ba3a24038d7295bce635e21698c9051 (diff) |
add configure args specific for powerpc
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile index f0e17503a..e05f5c060 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) \ |