summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index a85e4fa74..a0e972c3f 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -23,8 +23,10 @@ GCC_CONFOPTS= --prefix=$(STAGING_TOOLS) \
--disable-__cxa_atexit \
--enable-target-optspace \
--with-gnu-ld \
+ --without-headers \
--disable-libmudflap \
--disable-libgomp \
+ --disable-biarch \
--disable-multilib \
--disable-nls
@@ -38,6 +40,10 @@ ifeq ($(ADK_NO_FPU),y)
GCC_CONFOPTS+= --with-float=soft
endif
+ifeq ($(ADK_LINUX_MIPS64_LEMOTE),y)
+GCC_CONFOPTS+= --with-abi=64
+endif
+
include ${TOPDIR}/mk/buildhlp.mk
GCC_BUILD_DIR1:= $(WRKBUILD)-initial
@@ -74,6 +80,7 @@ $(GCC_BUILD_DIR2)/.configured:
${GCC_CONFOPTS} \
--enable-languages=$(TARGET_LANGUAGES) \
--with-sysroot=$(STAGING_DIR) \
+ --with-slibdir=$(STAGING_DIR)/lib \
--enable-shared \
);
touch $@