summaryrefslogtreecommitdiff
path: root/package/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-02 09:11:56 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-02 15:13:35 (GMT)
commit48758993b09a96f83c2bd190a5586421c90428e7 (patch)
tree28e4554cb26cc1294d06d6241b255d9e20190deb /package/gcc
parent8a2c6310e1e2764865ef684217130ed713d654e7 (diff)
refactor CPU_ARCH/ARCH variables
After Joerg asked me about the difference between ADK_TARGET_ARCH and ADK_TARGET_CPU_ARCH I recognized many duplication of variables for this information. These patch fixes this up. Use make cleandir && make menuconfig && make
Diffstat (limited to 'package/gcc')
-rw-r--r--package/gcc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index bef430d..88cc5b4 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -44,7 +44,7 @@ CONFIGURE_ARGS+= --enable-languages=c,c++
else
CONFIGURE_ARGS+= --enable-languages=c
endif
-ifeq ($(CPU_ARCH),ppc)
+ifeq ($(ADK_TARGET_CPU_ARCH),ppc)
CONFIGURE_ARGS+= --disable-target-optspace --with-long-double-64 --enable-secureplt
TARGET_CFLAGS+= '-Wl,--secure-plt'
else