diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-23 23:28:47 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-23 23:28:47 -0700 |
commit | 500155609621d8021d73291d2369b28919386a69 (patch) | |
tree | 99dc92b133ac6a8edc96b30f3ade1a66c0b288fa /configure | |
parent | cc966e1590332779e66d067c12ef79291dceafae (diff) | |
download | txr-500155609621d8021d73291d2369b28919386a69.tar.gz txr-500155609621d8021d73291d2369b28919386a69.tar.bz2 txr-500155609621d8021d73291d2369b28919386a69.zip |
build: port to Apple M1.
* configure (lit_align): Also don't calculate lit_align as 2
on Darwin/arm64; that is a hack needed on 32 bit x86 Mac OS.
* jmp.S: Define DEFUN for Arm64 on Darwin. We have to use %%
as the statement separator; semicolons are comments.
Use the same __aarch64__ code for __arm64__. We just need
some Apple specific tidbits before and after.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1496,7 +1496,7 @@ if [ -z "$lit_align" ] ; then exit 1 fi - if [ -n "$darwin_target" ] ; then + if [ -n "$darwin_target" ] && [ "$(arch)" = "i386" ] ; then lit_align=2 else lit_align=$SIZEOF_WCHAR_T |