From 6b6fe26dee627bbc6506b0e96ed13a55440bcd9d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 22 Feb 2014 22:25:58 +0100 Subject: fix ppc64 toolchain building with eglibc, disable sparc uclibc (broken) --- toolchain/eglibc/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'toolchain') 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)) -- cgit v1.2.3