summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++