projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eglibc: fix mips64 abi selection, default to o64 instead of n32
[openwrt.git]
/
toolchain
/
eglibc
/
common.mk
diff --git
a/toolchain/eglibc/common.mk
b/toolchain/eglibc/common.mk
index
f1e3f30
..
81f3df5
100644
(file)
--- 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)" \