summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-23 19:51:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-23 19:51:14 +0100
commitcea2d6801d8bb29ae976ca75a7b1f7715d24c553 (patch)
tree7441852b044b2fc6c449aba89f2ce8515a9ec1d9 /toolchain
parentbe4659ebff230c85615ec5585d2b0de9965c6ae6 (diff)
parent6b6fe26dee627bbc6506b0e96ed13a55440bcd9d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/eglibc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile
index 72dd1b1b7..dbccb8866 100644
--- a/toolchain/eglibc/Makefile
+++ b/toolchain/eglibc/Makefile
@@ -4,13 +4,16 @@
include $(TOPDIR)/rules.mk
include ../rules.mk
-# eglibc does not compile with Os on sparc
+# eglibc does not compile with Os on some architectures
ifeq ($(ADK_LINUX_SPARC),y)
TARGET_CFLAGS_LIBC:= $(subst Os,O2,$(TARGET_CFLAGS))
endif
ifeq ($(ADK_LINUX_MICROBLAZE),y)
TARGET_CFLAGS_LIBC:= $(subst Os,O2,$(TARGET_CFLAGS))
endif
+ifeq ($(ADK_LINUX_PPC64),y)
+TARGET_CFLAGS_LIBC:= $(subst Os,O2,$(TARGET_CFLAGS))
+endif
# ssp not supported
TARGET_CFLAGS_LIBC:= $(filter-out -fstack-protector,$(TARGET_CFLAGS_LIBC))