summaryrefslogtreecommitdiff
path: root/package/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/gcc/Makefile')
-rw-r--r--package/gcc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 06a2daf3a..4b8480342 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -46,7 +46,7 @@ CONFIGURE_ARGS+= --enable-languages=c,c++
else
CONFIGURE_ARGS+= --enable-languages=c
endif
-ifeq ($(ARCH),powerpc)
+ifeq ($(CPU_ARCH),ppc)
CONFIGURE_ARGS+= --disable-target-optspace --with-long-double-64 --enable-secureplt
TARGET_CFLAGS+= '-Wl,--secure-plt'
else