summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-12 16:49:44 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-12 16:49:44 +0200
commit98f545ee85e19c5f06aef755bb1be497f88d64f4 (patch)
tree71098dd14458e3ed4c81ecfd83b1ec5a626e16af
parent3601bc7f443bc1df6a4b414f3ae0108f03a8adf1 (diff)
parentb1dbc7b7e07b77200f77f761bc40e9011542c3f6 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rw-r--r--toolchain/eglibc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile
index 3bc55ad15..fa8153804 100644
--- a/toolchain/eglibc/Makefile
+++ b/toolchain/eglibc/Makefile
@@ -8,10 +8,10 @@ include Makefile.multilib
include ${TOPDIR}/mk/buildhlp.mk
ifneq ($(ADK_DEBUG),)
-TARGET_CFLAGS+= -O2
+TARGET_CFLAGS_LIBC+= -O2
endif
# ssp partially supported
-TARGET_CFLAGS:= $(filter-out -fstack-protector,$(TARGET_CFLAGS))
+TARGET_CFLAGS_LIBC:= $(filter-out -fstack-protector,$(TARGET_CFLAGS_LIBC))
ifeq ($(ADK_TARGET_NO_FPU),y)
EGLIBC_CONFOPTS+= --without-fp