summaryrefslogtreecommitdiff
path: root/dev-lua/lpeg/files/lpeg-0.12.1-makefile.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-lua/lpeg/files/lpeg-0.12.1-makefile.patch
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-lua/lpeg/files/lpeg-0.12.1-makefile.patch')
-rw-r--r--dev-lua/lpeg/files/lpeg-0.12.1-makefile.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/dev-lua/lpeg/files/lpeg-0.12.1-makefile.patch b/dev-lua/lpeg/files/lpeg-0.12.1-makefile.patch
deleted file mode 100644
index a0be0558aa97..000000000000
--- a/dev-lua/lpeg/files/lpeg-0.12.1-makefile.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- lpeg-0.12.1/makefile
-+++ lpeg-0.12.1/makefile
-@@ -1,7 +1,7 @@
- LIBNAME = lpeg
- LUADIR = ../lua/
-
--COPT = -O2
-+#COPT = -O2
- # COPT = -DLPEG_DEBUG -g
-
- CWARNS = -Wall -Wextra -pedantic \
-@@ -22,21 +22,21 @@
- # -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
-
- # For Linux
- linux:
-- make lpeg.so "DLLFLAGS = -shared -fPIC"
-+ $(MAKE) lpeg.so "DLLFLAGS = -shared -fPIC"
-
- # For Mac OS
- macosx:
-- make lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
-+ $(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
-