From 76ef98be9f71a67bf6622ff785ed47f7591d8e3f Mon Sep 17 00:00:00 2001 From: Jean-Marc Zucconi Date: Wed, 22 Dec 1999 21:38:13 +0000 Subject: Obey the CFLAGS settings. fix time_t declarations. Submitted by: Pedro F. Giffuni --- lang/p2c/files/patch-cc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lang/p2c/files/patch-cc (limited to 'lang/p2c/files/patch-cc') 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) + -- cgit v1.2.3