From 229b3477b76393650420feecc6b465fd3d8ed639 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 15 Feb 2014 16:21:26 +0100 Subject: use newer kernel for toolchain building, fix some problems with ppc and m68k toolchains --- toolchain/gcc/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'toolchain/gcc') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index fb027c8c3..c547591a0 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -26,6 +26,7 @@ GCC_CONFOPTS= --prefix=$(STAGING_HOST_DIR) \ --disable-cloog-version-check \ --without-ppl \ --without-cloog \ + --without-isl \ --disable-nls ifeq ($(ADK_TOOLCHAIN_GCC_SJLJ),y) @@ -61,13 +62,21 @@ GCC_CONFOPTS+= --disable-lto endif ifeq ($(ARCH),m68k) +ifeq ($(ADK_TARGET_LIBC),uclibc) GCC_CONFOPTS+= --disable-tls else GCC_CONFOPTS+= --enable-tls endif +else +GCC_CONFOPTS+= --enable-tls +endif ifeq ($(ARCH),powerpc) +ifeq ($(ADK_TARGET_LIBC),uclibc) +GCC_CONFOPTS+= --disable-target-optspace --with-long-double-128 --enable-secureplt +else GCC_CONFOPTS+= --disable-target-optspace --with-long-double-64 --enable-secureplt +endif else GCC_CONFOPTS+= --enable-target-optspace endif @@ -196,6 +205,8 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled @-test -d $(STAGING_TARGET_DIR)/lib64 && \ cd $(STAGING_TARGET_DIR)/lib64 && \ ln -sf libstdc++.so.6.0.17 libstdc++.so + # cleanup unneeded docs + rm -rf $(STAGING_HOST_DIR)/share touch $@ include ${TOPDIR}/mk/toolchain.mk -- cgit v1.2.3