freebsd-ports/lang/nawk/files/patch-makefile
Tong LIU 3da2e54c28 - Update to 20091126
PR:	ports/142206
Submitted by:	Pedro F. Giffuni <giffunip@tutopia.com>
Approved by:	Yoshihiro Ota <ota@j.email.ne.jp> (maintainer)
2010-01-07 09:25:23 +00:00

26 lines
555 B
Text

--- makefile.orig 2009-02-09 20:20:44.000000000 +0000
+++ makefile 2009-12-31 15:05:35.000000000 +0000
@@ -22,19 +22,12 @@
# THIS SOFTWARE.
# ****************************************************************/
-CFLAGS = -g
-CFLAGS = -O2
-CFLAGS =
-
-CC = gcc -Wall -g -Wwrite-strings
-CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
-CC = gcc -Wall -g
-CC = cc
-CC = gcc -O4
+CFLAGS ?= -O2
+CC ?= cc
-YACC = bison -y
-YACC = yacc
+
+YACC ?= yacc
YFLAGS = -d
OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o