mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
OSX/ARM64: Disable external unwinding for now.
This reduces functionality, e.g. no handling of on-trace errors. Someone with very deep knowledge about macOS and MACH-O/DWARF stack unwinding internals is needed to fix this. See issue #698.
This commit is contained in:
parent
bb0f241015
commit
27ee3bcd79
@ -320,7 +320,10 @@ ifeq (Darwin,$(TARGET_SYS))
|
||||
$(error missing: export MACOSX_DEPLOYMENT_TARGET=XX.YY)
|
||||
endif
|
||||
TARGET_STRIP+= -x
|
||||
TARGET_XCFLAGS+= -DLUAJIT_UNWIND_EXTERNAL
|
||||
# Ext. unwinding is broken on OSX/ARM64 until someone finds a fix. See #698.
|
||||
ifneq (arm64,$(TARGET_LJARCH))
|
||||
TARGET_XCFLAGS+= -DLUAJIT_UNWIND_EXTERNAL
|
||||
endif
|
||||
TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC
|
||||
TARGET_DYNXLDOPTS=
|
||||
TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER)
|
||||
|
Loading…
Reference in New Issue
Block a user