1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-26 21:17:40 +00:00
freebsd-ports/devel/re2c/files/patch-ab
Steve Price fedb27dedb We haven't for a long time (if ever) had to call g++ with -lg++ to compile
a program so remove it and fix the build for all -current machines.
1999-09-27 02:03:53 +00:00

21 lines
454 B
Plaintext

--- Makefile.orig Fri Apr 15 20:23:55 1994
+++ Makefile Sun Sep 26 09:42:57 1999
@@ -15,7 +15,7 @@
OBJS = code.o dfa.o main.o parser.o actions.o scanner.o substr.o\
translate.o
-CC = gcc
+CC = c++
CFLAGS = -O2 -Wall -I.
YFLAGS = -d
LDFLAGS =
@@ -30,7 +30,7 @@
mv -f y.tab.c parser.cc
re2c: $(OBJS)
- $(CC) -o $@ $(OBJS) $(LDFLAGS) -lg++
+ $(CC) -o $@ $(OBJS) $(LDFLAGS) #-lg++
#
# generated with "gcc -I. -MM -x c++ *.cc *.y *.re"