diff options
author | Tim Harder <radhermit@gentoo.org> | 2019-06-12 20:59:04 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2019-06-12 21:24:01 -0500 |
commit | f37f77ed7dc2545835b281a55d1c738753050160 (patch) | |
tree | 120dcaf819ca849756735d89e0c2660cf1f88ab7 /dev-lua/lpeg/files | |
parent | dev-libs/msgpack: version bump to 3.2.0 (diff) | |
download | gentoo-f37f77ed7dc2545835b281a55d1c738753050160.tar.gz gentoo-f37f77ed7dc2545835b281a55d1c738753050160.tar.bz2 gentoo-f37f77ed7dc2545835b281a55d1c738753050160.zip |
dev-lua/lpeg: version bump to 1.0.2
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-lua/lpeg/files')
-rw-r--r-- | dev-lua/lpeg/files/lpeg-1.0.2-makefile.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-lua/lpeg/files/lpeg-1.0.2-makefile.patch b/dev-lua/lpeg/files/lpeg-1.0.2-makefile.patch new file mode 100644 index 000000000000..ec8150443da4 --- /dev/null +++ b/dev-lua/lpeg/files/lpeg-1.0.2-makefile.patch @@ -0,0 +1,31 @@ +Respect user CFLAGS and LDFLAGS. + +--- lpeg-1.0.2/makefile ++++ lpeg-1.0.2/makefile +@@ -1,7 +1,7 @@ + LIBNAME = lpeg + LUADIR = ../lua/ + +-COPT = -O2 -DNDEBUG ++COPT = -DNDEBUG + # COPT = -g + + CWARNS = -Wall -Wextra -pedantic \ +@@ -22,7 +22,7 @@ + # -Wunreachable-code \ + + +-CFLAGS = $(CWARNS) $(COPT) -std=c99 -I$(LUADIR) -fPIC ++CFLAGS += $(CWARNS) $(COPT) -std=c99 -I$(LUADIR) -fPIC + CC = gcc + + FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o +@@ -36,7 +36,7 @@ + $(MAKE) lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup" + + lpeg.so: $(FILES) +- env $(CC) $(DLLFLAGS) $(FILES) -o lpeg.so ++ env $(CC) $(DLLFLAGS) $(LDFLAGS) $(FILES) -o lpeg.so + + $(FILES): makefile + |