From f335e5894fc9cd8087ba8d48e33708fe70630229 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 5 Apr 2013 12:36:23 +0000 Subject: toolchain: allow choosing the MIPS64 user-land ABI Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36205 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/common.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'toolchain/gcc') diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 8305aa9fc..c6b961735 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -113,7 +113,8 @@ GCC_CONFIGURE:= \ --with-host-libstdcxx=-lstdc++ \ $(SOFT_FLOAT_CONFIG_OPTION) \ $(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \ - $(if $(CONFIG_mips64)$(CONFIG_mips64el),--with-arch=mips64 --with-abi=64) \ + $(if $(CONFIG_mips64)$(CONFIG_mips64el),--with-arch=mips64 \ + --with-abi=$(subst ",,$(CONFIG_MIPS64_ABI))) \ --with-gmp=$(TOPDIR)/staging_dir/host \ --with-mpfr=$(TOPDIR)/staging_dir/host \ --disable-decimal-float -- cgit v1.2.3