summaryrefslogtreecommitdiff
path: root/lang/p2c/files/patch-cc
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1999-12-22 21:38:13 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1999-12-22 21:38:13 +0000
commit76ef98be9f71a67bf6622ff785ed47f7591d8e3f (patch)
tree3f0b2c0f6790f2399ae5ae976f69733693e68981 /lang/p2c/files/patch-cc
parentUpdate to version 1.3pl2. (diff)
Obey the CFLAGS settings.
fix time_t declarations. Submitted by: Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
Notes
Notes: svn path=/head/; revision=23845
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)
+