freebsd-ports/lang/p2c/files/patch-cc
Jean-Marc Zucconi 76ef98be9f Obey the CFLAGS settings.
fix time_t declarations.

Submitted by:	Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
1999-12-22 21:38:13 +00:00

23 lines
746 B
Plaintext

*** 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)