diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-31 12:30:39 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-31 12:30:39 +0000 |
commit | c1d6e2d564a53da3d47e5eb9ce25fdcc1ae35663 (patch) | |
tree | b2d57dfcf1a3240e9913375300b582068aa29e36 /toolchain/eglibc/common.mk | |
parent | 83f2580b0ae9111a55853e682a47e1da1b5dfd6b (diff) | |
download | upstream-c1d6e2d564a53da3d47e5eb9ce25fdcc1ae35663.tar.gz upstream-c1d6e2d564a53da3d47e5eb9ce25fdcc1ae35663.tar.bz2 upstream-c1d6e2d564a53da3d47e5eb9ce25fdcc1ae35663.zip |
eglibc: fix mips64 abi selection, default to o64 instead of n32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40888 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/eglibc/common.mk')
-rw-r--r-- | toolchain/eglibc/common.mk | 3 |
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)" \ |