summaryrefslogtreecommitdiff
path: root/package/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-10 14:37:03 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-10 14:37:03 +0100
commita7f84a637fb077b80f88799321670fb6260d721a (patch)
treed5aaf95a3a82981ba7293cf1fafd10995ee07f90 /package/gcc
parent70ba1c939c8c0fcd3195164ddad4846cce6b540f (diff)
choose default abi for qemu-mips64{,el}
Diffstat (limited to 'package/gcc')
-rw-r--r--package/gcc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 26b04522d..2c2fb70a6 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -30,6 +30,12 @@ TARGET_CXXFLAGS:= $(filter-out -fstack-protector,$(TARGET_CXXFLAGS))
ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y)
CONFIGURE_ARGS+= --with-abi=$(ADK_TARGET_ABI)
endif
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_MIPS64),y)
+CONFIGURE_ARGS+= --with-abi=$(ADK_TARGET_ABI)
+endif
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_MIPS64EL),y)
+CONFIGURE_ARGS+= --with-abi=$(ADK_TARGET_ABI)
+endif
ifneq ($(ADK_PACKAGE_GXX),)
CONFIGURE_ARGS+= --enable-languages=c,c++