diff options
Diffstat (limited to 'package')
-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) \ |