diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-22 22:25:58 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-22 22:25:58 +0100 |
commit | 6b6fe26dee627bbc6506b0e96ed13a55440bcd9d (patch) | |
tree | 5569515095f4de2342514ccea35daee7e10c9482 /toolchain/eglibc/Makefile | |
parent | d8b552dbe4dc24a7bf7dac7d05a8d9d077470347 (diff) |
fix ppc64 toolchain building with eglibc, disable sparc uclibc (broken)
Diffstat (limited to 'toolchain/eglibc/Makefile')
-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)) |