summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap7
1 files changed, 6 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index b3114ce..3ff9937 100755
--- a/bootstrap
+++ b/bootstrap
@@ -291,7 +291,7 @@
#
# * Finish the "system/" build; the "bootstrap.sh" script will
# require some work. Current status: preimage is finished.
-#
+#
HERE="$(dirname $(readlink -f ${0}))";
@@ -336,6 +336,7 @@ case "${1}" in
x86_64) m=x86_64: ; q=x86_64 ; ;;
pmmx) m=i586: ; q=i386 ; ;;
+ mips64) m=mips64: ; q=mips64 ; ;;
riscv64) m=riscv64: ; q=riscv64 ; ;;
s390x) m=s390x: ; q=s390x ; ;;
@@ -468,6 +469,10 @@ GCC_CONFIG_FOR_TARGET += --with-arch=i586 --with-tune=pentium2 --enable-cld --en
endif
# experimental targets
+ifneq ($(findstring mips64-,$(TARGET)),)
+GCC_CONFIG_FOR_TARGET += --with-abi=64 --with-mips-plt
+endif
+
ifneq ($(findstring riscv64-,$(TARGET)),)
GCC_CONFIG_FOR_TARGET += --with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic
endif