summaryrefslogtreecommitdiff
path: root/sysutils/open/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/open/files/patch-Makefile')
-rw-r--r--sysutils/open/files/patch-Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/sysutils/open/files/patch-Makefile b/sysutils/open/files/patch-Makefile
new file mode 100644
index 000000000000..1078281e9979
--- /dev/null
+++ b/sysutils/open/files/patch-Makefile
@@ -0,0 +1,25 @@
+--- Makefile.orig Fri Jul 19 07:32:07 1996
++++ Makefile Wed Feb 11 05:18:21 2004
+@@ -1,6 +1,7 @@
+
+-CC=gcc
+-CFLAGS=-O2 -Wall -ansi
++CC?=gcc
++CFLAGS?=-O2 -Wall -ansi
++CFLAGS+=-Wall
+ LDFLAGS=$(CFLAGS) -s
+
+ SRC1=open.c
+@@ -20,10 +21,10 @@
+
+
+ open: $(OBJ1)
+- $(CC) $(LDLAGS) -o $@ $<
++ $(CC) $(LDLAGS) -o $@ $>
+
+ switchto: $(OBJ2)
+- $(CC) $(LDLAGS) -o $@ $<
++ $(CC) $(LDLAGS) -o $@ $>
+
+ open.o: open.h
+