Browse Source

another TARGET_CFLAGS_LIBC fix

Waldemar Brodkorb 13 years ago
parent
commit
b1dbc7b7e0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      toolchain/eglibc/Makefile

+ 2 - 2
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