aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 2538503f..4650c3e0 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -320,7 +320,10 @@ 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 TARGET_XCFLAGS+= -DLUAJIT_UNWIND_EXTERNAL 323 # Ext. unwinding is broken on OSX/ARM64 until someone finds a fix. See #698.
324 ifneq (arm64,$(TARGET_LJARCH))
325 TARGET_XCFLAGS+= -DLUAJIT_UNWIND_EXTERNAL
326 endif
324 TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC 327 TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC
325 TARGET_DYNXLDOPTS= 328 TARGET_DYNXLDOPTS=
326 TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER) 329 TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER)