summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-12-25 15:46:06 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-12-25 15:46:06 +0000
commit02aaeabd585124f1394a3ad251b39b4ff368339b (patch)
tree1323137eeb2c486fbe8d23ce50a9629674e000c3 /aclocal.m4
parentd7d0aa316f9d23d73ae617e0cc1b147907667ef4 (diff)
downloadhaskell-02aaeabd585124f1394a3ad251b39b4ff368339b.tar.gz
aclocal.m4: add minimal support for nios2 architecture
With this change unregisterised port can already produce minimal executables: ELF 32-bit LSB executable, Altera Nios II, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-nios2.so.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 5dc618df8a..5989a13ce6 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -217,7 +217,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
mipsel)
test -z "[$]2" || eval "[$]2=ArchMipsel"
;;
- hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sh4|vax)
+ hppa|hppa1_1|ia64|m68k|nios2|rs6000|s390|s390x|sh4|vax)
test -z "[$]2" || eval "[$]2=ArchUnknown"
;;
*)
@@ -1848,6 +1848,9 @@ case "$1" in
mips*)
$2="mips"
;;
+ nios2)
+ $2="nios2"
+ ;;
powerpc64le*)
$2="powerpc64le"
;;