summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-12 16:46:38 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-12 16:46:38 +0200
commitb1dbc7b7e07b77200f77f761bc40e9011542c3f6 (patch)
treee720a9791bfbe1539b45d8df426cce8265b610cf
parentd72d9c923c973c4f6e6c7dec275a84330f5efe1a (diff)
another TARGET_CFLAGS_LIBC fix
-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