소스 검색

Merge branch 'master' of git+ssh://openadk.org/git/openadk

Waldemar Brodkorb 14 년 전
부모
커밋
b0df2da1e4
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      toolchain/glibc/Makefile

+ 3 - 0
toolchain/glibc/Makefile

@@ -9,6 +9,9 @@ include ${TOPDIR}/mk/buildhlp.mk
 
 # glibc does not compile with Os
 TARGET_CFLAGS:=$(subst Os,O2,$(TARGET_CFLAGS))
+ifneq ($(ADK_DEBUG),)
+TARGET_CFLAGS+=-O2
+endif
 
 GLIBC_CONFOPTS:=        \
 			--build=$(GNU_HOST_NAME) \