diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-23 19:51:14 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-23 19:51:14 +0100 |
commit | cea2d6801d8bb29ae976ca75a7b1f7715d24c553 (patch) | |
tree | 7441852b044b2fc6c449aba89f2ce8515a9ec1d9 /toolchain | |
parent | be4659ebff230c85615ec5585d2b0de9965c6ae6 (diff) | |
parent | 6b6fe26dee627bbc6506b0e96ed13a55440bcd9d (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/eglibc/Makefile | 5 |
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)) |