summaryrefslogtreecommitdiff
path: root/dev-util/btyacc/files/btyacc-3.0-makefile.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/btyacc/files/btyacc-3.0-makefile.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/btyacc/files/btyacc-3.0-makefile.patch')
-rw-r--r--dev-util/btyacc/files/btyacc-3.0-makefile.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-util/btyacc/files/btyacc-3.0-makefile.patch b/dev-util/btyacc/files/btyacc-3.0-makefile.patch
new file mode 100644
index 000000000000..884b49f46b9d
--- /dev/null
+++ b/dev-util/btyacc/files/btyacc-3.0-makefile.patch
@@ -0,0 +1,22 @@
+Respect CC, append to CFLAGS (but not -g), append to LDFLAGS, use system LD -jer
+
+--- Makefile.orig 1999-07-15 19:40:12.000000000 +0200
++++ Makefile 2009-09-04 15:27:15.000000000 +0200
+@@ -8,14 +8,13 @@
+
+ HDRS = defs.h mstring.h
+
+-CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes
++CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes
+
+-LDFLAGS = -static
++LDFLAGS += -static
+
+ LIBS =
+
+-CC = gcc
+-LINKER = gcc
++LINKER = $(CC)
+ # LINKER = cl
+ # CC = cl
+