Import of pkgsrc-2014Q1
This commit is contained in:
14
net/lua-socket/patches/patch-src_makefile
Normal file
14
net/lua-socket/patches/patch-src_makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
$NetBSD: patch-src_makefile,v 1.1 2013/09/13 14:24:28 fhajny Exp $
|
||||
|
||||
Pass our LDFLAGS.
|
||||
--- src/makefile.orig 2013-06-14 11:27:32.000000000 +0000
|
||||
+++ src/makefile
|
||||
@@ -151,7 +151,7 @@ DEF_linux=-DLUASOCKET_$(DEBUG) -DLUA_$(C
|
||||
-DMIME_API='__attribute__((visibility("default")))'
|
||||
CFLAGS_linux= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \
|
||||
-Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
|
||||
-LDFLAGS_linux=-O -shared -fpic -o
|
||||
+LDFLAGS_linux=-O -shared -fpic $(MYLDFLAGS) -o
|
||||
LD_linux=gcc
|
||||
SOCKET_linux=usocket.o
|
||||
|
||||
Reference in New Issue
Block a user