summaryrefslogtreecommitdiff
path: root/lang/p2c/files/patch-cc
diff options
context:
space:
mode:
Diffstat (limited to 'lang/p2c/files/patch-cc')
-rw-r--r--lang/p2c/files/patch-cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/p2c/files/patch-cc b/lang/p2c/files/patch-cc
new file mode 100644
index 000000000000..dd25bbcbf853
--- /dev/null
+++ b/lang/p2c/files/patch-cc
@@ -0,0 +1,22 @@
+*** src/Makefile.orig Wed Dec 15 14:55:32 1999
+--- src/Makefile Wed Dec 15 14:56:48 1999
+***************
+*** 37,44 ****
+ #MANFILE = p2c.man.inst
+
+ # Compiler options
+! CC = cc # you may wish to use gcc here instead
+! OPT = # -O # uncomment this for optimization
+ DEB = # -g # uncomment this for debugging
+ DEFS = # place other -D types of things here
+ CFLAGS = $(OPT) $(DEB) $(DEFS)
+--- 37,44 ----
+ #MANFILE = p2c.man.inst
+
+ # Compiler options
+! CC ?= cc # you may wish to use gcc here instead
+! OPT = $(CFLAGS) # uncomment this for optimization
+ DEB = # -g # uncomment this for debugging
+ DEFS = # place other -D types of things here
+ CFLAGS = $(OPT) $(DEB) $(DEFS)
+