summaryrefslogtreecommitdiff
path: root/toolchain/eglibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-05-08 11:10:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-05-08 11:10:59 +0200
commit82862bcb9456c9b64d6dbda6edb86424033b3a04 (patch)
tree80dc4b89a28634451ce4c5df773233a12ca4dce5 /toolchain/eglibc
parent3e09707b49df65133535d767f07a7ed66cd841a8 (diff)
parent92802d018247e34c05348cf21283e1be4cdfb4f7 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/eglibc')
-rw-r--r--toolchain/eglibc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile
index fa8153804..0961e7bca 100644
--- a/toolchain/eglibc/Makefile
+++ b/toolchain/eglibc/Makefile
@@ -7,6 +7,8 @@ include Makefile.inc
include Makefile.multilib
include ${TOPDIR}/mk/buildhlp.mk
+# eglibc does not compile with Os
+TARGET_CFLAGS_LIBC:= $(subst Os,O2,$(TARGET_CFLAGS))
ifneq ($(ADK_DEBUG),)
TARGET_CFLAGS_LIBC+= -O2
endif