6a29754575
While here, set the DIST_SUBDIR to something unique since the distfile has the same name between versions. Also reset maintainship as Hiro doesn't use nawk on FreeBSD and updates are infrequent. PR: 187543 Submitted by: Pedro Giffuni Tweaks by: marino@
25 lines
598 B
Text
25 lines
598 B
Text
--- makefile.orig 2012-12-20 13:58:45 UTC
|
|
+++ makefile
|
|
@@ -22,19 +22,9 @@
|
|
# 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 -g -Wall -pedantic
|
|
-CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing
|
|
-
|
|
-YACC = bison -d -y
|
|
-YACC = yacc -d -S
|
|
-#YFLAGS = -d -S
|
|
- # -S uses sprintf in yacc parser instead of sprint
|
|
+
|
|
+CC?= cc
|
|
+YACC?= yacc -d
|
|
|
|
OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o
|
|
|