diff options
Diffstat (limited to 'toolchain/eglibc/Makefile')
-rw-r--r-- | toolchain/eglibc/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile index b9be77579..12f193c3b 100644 --- a/toolchain/eglibc/Makefile +++ b/toolchain/eglibc/Makefile @@ -3,12 +3,18 @@ include $(TOPDIR)/rules.mk include ../rules.mk -include Makefile.inc -include ${TOPDIR}/mk/buildhlp.mk -# ssp partially supported +# eglibc does not compile with Os on sparc +ifeq ($(ADK_LINUX_SPARC),y) +TARGET_CFLAGS_LIBC:= $(subst Os,O2,$(TARGET_CFLAGS)) +endif + +# ssp not supported TARGET_CFLAGS_LIBC:= $(filter-out -fstack-protector,$(TARGET_CFLAGS_LIBC)) +include Makefile.inc +include ${TOPDIR}/mk/buildhlp.mk + ifeq ($(ADK_TARGET_NO_FPU),y) EGLIBC_CONFOPTS+= --without-fp endif |