diff options
author | Mike Pall <mike> | 2021-10-17 13:14:41 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2021-10-17 13:14:41 +0200 |
commit | bfcb74ed36d733bae249fe7642b7324a56be88d0 (patch) | |
tree | c01147765f5727f1534ff60974468e72445f496e /src/Makefile | |
parent | bfd076532cdf1159df13499392879f5f4d3a9a5d (diff) | |
download | luajit-bfcb74ed36d733bae249fe7642b7324a56be88d0.tar.gz luajit-bfcb74ed36d733bae249fe7642b7324a56be88d0.tar.bz2 luajit-bfcb74ed36d733bae249fe7642b7324a56be88d0.zip |
OSX/ARM64: Fix external unwinding.
Contributed by Edmund Kapusniak. #698 #757
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile index 4650c3e0..2538503f 100644 --- a/src/Makefile +++ b/src/Makefile | |||
@@ -320,10 +320,7 @@ ifeq (Darwin,$(TARGET_SYS)) | |||
320 | $(error missing: export MACOSX_DEPLOYMENT_TARGET=XX.YY) | 320 | $(error missing: export MACOSX_DEPLOYMENT_TARGET=XX.YY) |
321 | endif | 321 | endif |
322 | TARGET_STRIP+= -x | 322 | TARGET_STRIP+= -x |
323 | # Ext. unwinding is broken on OSX/ARM64 until someone finds a fix. See #698. | 323 | TARGET_XCFLAGS+= -DLUAJIT_UNWIND_EXTERNAL |
324 | ifneq (arm64,$(TARGET_LJARCH)) | ||
325 | TARGET_XCFLAGS+= -DLUAJIT_UNWIND_EXTERNAL | ||
326 | endif | ||
327 | TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC | 324 | TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC |
328 | TARGET_DYNXLDOPTS= | 325 | TARGET_DYNXLDOPTS= |
329 | TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER) | 326 | TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER) |