summaryrefslogtreecommitdiff
path: root/toolchain/eglibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-03-25 20:11:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-03-25 20:11:22 +0100
commitbf5f8fc2eaded785753175367f7f1a52192c2d62 (patch)
tree046a9095ce7ecebf2f080ed0c44f6ac7504b4ad1 /toolchain/eglibc/Makefile
parent2f47ae6eace00f70af7eab702a343b8c99b4740f (diff)
parent97a34b0a9a6239b14758009472d500d56955821f (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/eglibc/Makefile')
-rw-r--r--toolchain/eglibc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile
index f52cf0717..863cd88ba 100644
--- a/toolchain/eglibc/Makefile
+++ b/toolchain/eglibc/Makefile
@@ -7,6 +7,10 @@ include Makefile.inc
include ${TOPDIR}/mk/buildhlp.mk
+ifneq ($(ADK_DEBUG),)
+TARGET_CFLAGS+= -O2
+endif
+
EGLIBC_CONFOPTS:= \
--build=$(GNU_HOST_NAME) \
--host=$(REAL_GNU_TARGET_NAME) \