blob: 826714d8ad448f23d8dd59116273610fef8cfd7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# GHC_UNREGISTERISED
# --------------------------------
# Do an unregisterised build?
AC_DEFUN([GHC_UNREGISTERISED],
[
AC_MSG_CHECKING(whether target supports a registerised ABI)
case "$TargetArch" in
i386|x86_64|powerpc|powerpc64|powerpc64le|s390x|arm|aarch64|riscv64|wasm32|javascript|loongarch64)
UnregisterisedDefault=NO
AC_MSG_RESULT([yes])
;;
*)
UnregisterisedDefault=YES
AC_MSG_RESULT([no])
;;
esac
FP_DEFAULT_CHOICE_OVERRIDE_CHECK(
[unregisterised],
[unregisterised],
[registerised],
[Unregisterised],
[Build a toolchain with the unregisterised ABI (disabled by default on platforms with registerised support)],
[NO],
[YES],
[no])
])
|