aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/eglibc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-31 12:30:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-31 12:30:39 +0000
commit777784bd976e1a14bc613f01c2e482aa294c67e6 (patch)
treecb8e95fb2538b7e783260f8a1b12553d0940bef4 /toolchain/eglibc
parentcdbbe71199267ae1dc65e554131ed252c07e0507 (diff)
downloadupstream-777784bd976e1a14bc613f01c2e482aa294c67e6.tar.gz
upstream-777784bd976e1a14bc613f01c2e482aa294c67e6.tar.bz2
upstream-777784bd976e1a14bc613f01c2e482aa294c67e6.zip
eglibc: fix mips64 abi selection, default to o64 instead of n32
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40888
Diffstat (limited to 'toolchain/eglibc')
-rw-r--r--toolchain/eglibc/common.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/eglibc/common.mk b/toolchain/eglibc/common.mk
index f1e3f30455..81f3df5018 100644
--- a/toolchain/eglibc/common.mk
+++ b/toolchain/eglibc/common.mk
@@ -34,6 +34,9 @@ HOST_STAMP_CONFIGURED:=$(CUR_BUILD_DIR)/.configured
HOST_STAMP_BUILT:=$(CUR_BUILD_DIR)/.built
HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.eglibc_$(VARIANT)_installed
+ifeq ($(ARCH),mips64)
+ TARGET_CFLAGS += -mabi=64
+endif
EGLIBC_CONFIGURE:= \
BUILD_CC="$(HOSTCC)" \