diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-09-30 11:23:32 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-09-30 11:23:32 +0300 |
commit | 53d97efad03453b0fff5a941170db6b7abdb2083 (patch) | |
tree | 29ea91cb94988d9c0e2ff88d16229125d448ddcb /m4 | |
parent | 4b08eee7c10e17a13bb9600bfcfdd41a3a9c0160 (diff) | |
download | gawk-53d97efad03453b0fff5a941170db6b7abdb2083.tar.gz |
Disable pma on M1 mac. At least for now.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ChangeLog | 5 | ||||
-rw-r--r-- | m4/pma.m4 | 14 |
2 files changed, 17 insertions, 2 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog index 705d8375..6a7f944b 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2022-09-30 Arnold D. Robbins <arnold@skeeve.com> + + * pma.m4: Disable pma on M1 mac. It doesn't work there. We hope + that this is just temporary. + 2022-09-21 Arnold D. Robbins <arnold@skeeve.com> * pma.m4: Allow FreeBSD 13 and OpenBSD 7. @@ -24,8 +24,18 @@ then export LDFLAGS]) ;; *darwin*) - LDFLAGS="${LDFLAGS} -Xlinker -no_pie" - export LDFLAGS + # 30 September 2022: PMA works on Intel but not + # on M1, disable it, until it gets fixed + case $host in + x86_64-*) + LDFLAGS="${LDFLAGS} -Xlinker -no_pie" + export LDFLAGS + ;; + *) + # aarch64-* + use_persistent_malloc=no + ;; + esac ;; *cygwin* | *CYGWIN* | *solaris2.11* | freebsd13.* | openbsd7.* ) true # nothing do, exes on these systems are not PIE |