summaryrefslogtreecommitdiff
path: root/mk/mips-arch.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/mips-arch.mk')
-rw-r--r--mk/mips-arch.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/mips-arch.mk b/mk/mips-arch.mk
index 292dfd7..f0b66a8 100644
--- a/mk/mips-arch.mk
+++ b/mk/mips-arch.mk
@@ -116,6 +116,8 @@ endif
endif
#GCC configure options
+GCC_WITH_ARCH := --with-arch=$(GNU_TARGET_ARCH)
+export GCC_WITH_ARCH
ifeq ($(CONFIG_EMBTK_ARCH_MIPS_ABI_O32),y)
GCC_WITH_ABI := --with-abi=32