vcpkg/ports/luajit/003-do-not-set-macosx-deployment-target.patch
Federico Aponte 5d8b7711b1
[luajit] Add support for OSX (#24584)
* [luajit] Add support for OSX

* Apply suggestions from code review

Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>

* [luajit] Add code review suggestions
* Remove MACOSX_DEPLOYMENT_TARGET definition from Makefile
* Add usage file
* Add license field to manifest file
Co-authored-by: Billy O'Neal <billy.oneal@gmail.com>

* [luajit] Remove usage file whose content is controversial

Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>
2022-05-10 11:35:35 -07:00

15 lines
500 B
Diff

diff --git a/src/Makefile b/src/Makefile
index f7f81a4..e6140c4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -297,9 +297,6 @@ ifeq (,$(shell $(TARGET_CC) -o /dev/null -c -x c /dev/null -fno-stack-protector
TARGET_XCFLAGS+= -fno-stack-protector
endif
ifeq (Darwin,$(TARGET_SYS))
- ifeq (,$(MACOSX_DEPLOYMENT_TARGET))
- export MACOSX_DEPLOYMENT_TARGET=10.4
- endif
TARGET_STRIP+= -x
TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC
TARGET_DYNXLDOPTS=