Fix building on OS X.
This commit is contained in:
parent
7916d5bf7c
commit
40a2dd1a6d
2 changed files with 18 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.7 2016/04/01 11:22:36 jperkin Exp $
|
||||
$NetBSD: distinfo,v 1.8 2016/04/01 13:26:03 adam Exp $
|
||||
|
||||
SHA1 (LuaJIT-2.0.4.tar.gz) = 6e533675180300e85d12c4bbeea2d0e41ad21172
|
||||
RMD160 (LuaJIT-2.0.4.tar.gz) = ef9ec596ebf81e3871f060c40303bcd2002474c4
|
||||
SHA512 (LuaJIT-2.0.4.tar.gz) = a72957bd85d8f457269e78bf08c19b28c5707df5d19920d61918f8a6913f55913ce13037fb9a6463c04cefde0c6644739f390e09d656e4bbc2c236927aa3f8f9
|
||||
Size (LuaJIT-2.0.4.tar.gz) = 847615 bytes
|
||||
SHA1 (patch-Makefile) = 4dc6b2fd4f155700aa92e81bf2e10ce2e7990f16
|
||||
SHA1 (patch-src_Makefile) = 29426c80f12d34d69eff2dfae1da786827069163
|
||||
|
|
16
lang/LuaJIT2/patches/patch-src_Makefile
Normal file
16
lang/LuaJIT2/patches/patch-src_Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
$NetBSD: patch-src_Makefile,v 1.1 2016/04/01 13:26:03 adam Exp $
|
||||
|
||||
Fix building on OS X.
|
||||
|
||||
--- src/Makefile.orig 2015-05-14 18:30:00.000000000 +0000
|
||||
+++ src/Makefile
|
||||
@@ -294,9 +294,6 @@ ifeq (,$(shell $(TARGET_CC) -o /dev/null
|
||||
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_AR+= 2>/dev/null
|
||||
TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC
|
Loading…
Reference in a new issue