summaryrefslogtreecommitdiffstats
path: root/external/firebird/firebird-btyacc-add-explicit-rule.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/firebird/firebird-btyacc-add-explicit-rule.patch')
-rw-r--r--external/firebird/firebird-btyacc-add-explicit-rule.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/external/firebird/firebird-btyacc-add-explicit-rule.patch b/external/firebird/firebird-btyacc-add-explicit-rule.patch
new file mode 100644
index 0000000000..c4d88d911a
--- /dev/null
+++ b/external/firebird/firebird-btyacc-add-explicit-rule.patch
@@ -0,0 +1,12 @@
+--- extern/btyacc/Makefile.orig 2020-11-13 18:57:44.831455058 +0100
++++ extern/btyacc/Makefile 2020-11-13 18:59:19.071078333 +0100
+@@ -44,6 +44,9 @@
+ $(PROGRAM): $(OBJS) $(LIBS)
+ $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJS) $(LIBS)
+
++%.o: %.c
++ $(CC) $(CCFLAGS) -c $< -o $@
++
+ clean:; rm -f $(OBJS)
+
+ clobber:; rm -f $(OBJS) $(PROGRAM)