summaryrefslogtreecommitdiff
path: root/toolchain/eglibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-03-24 19:12:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-03-24 19:12:01 +0100
commit8a3ba19b04029a220dd16ffabe882a60e8098042 (patch)
tree20052a41d98555acd5f0f0ebb8b29d77d40cda1f /toolchain/eglibc/Makefile
parentb69850c9d6fd24109618ea070b8f471a263d9e39 (diff)
parentdc0a0e7175cf1e7a25d1250f28d4d8ddb02b7e63 (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) \