aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:23 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:23 +0000
commite03292226618c68f219f41d745f92172687690dd (patch)
tree30339621d48222e18d49491444ca6c9bdc3591be /toolchain/gcc
parent348cae15d2934f07a6c584261c2bee49cc43bbbd (diff)
downloadupstream-e03292226618c68f219f41d745f92172687690dd.tar.gz
upstream-e03292226618c68f219f41d745f92172687690dd.tar.bz2
upstream-e03292226618c68f219f41d745f92172687690dd.zip
toolchain: allow choosing the MIPS64 user-land ABI
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36205
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/common.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
index 8305aa9fc1..c6b961735c 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