diff options
| author | mycroft <mycroft@NetBSD.org> | 1993-06-17 03:52:28 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1993-06-17 03:52:28 +0000 |
| commit | 2caee481cfd43ef810ff70dee126dfd6c4d059c0 (patch) | |
| tree | c6f22fcb3a9b2614dbf42c5883bd288d0847655a /gnu/usr.bin/groff/Makefile.g++ | |
| parent | 30b696c98110303865395209c979609039e305ce (diff) | |
Use CXX and CXXFLAGS.
Diffstat (limited to 'gnu/usr.bin/groff/Makefile.g++')
| -rw-r--r-- | gnu/usr.bin/groff/Makefile.g++ | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/usr.bin/groff/Makefile.g++ b/gnu/usr.bin/groff/Makefile.g++ index fff4fda81ce..869828f7178 100644 --- a/gnu/usr.bin/groff/Makefile.g++ +++ b/gnu/usr.bin/groff/Makefile.g++ @@ -4,20 +4,19 @@ # Define g++ compilation rules. # -GXX= g++ -GXXFLAGS= ${CFLAGS} -felide-constructors +CXXFLAGS+= -felide-constructors LDXX= /usr/libexec/ld++ # Temporary, to achieve linking -CC= g++ +CC= ${CXX} .SUFFIXES: .cc .cc.o: - $(GXX) $(GXXFLAGS) -c $(.IMPSRC) + $(CXX) $(CXXFLAGS) -c $(.IMPSRC) .y.o: $(YACC) $(YFLAGS) $(.IMPSRC) mv y.tab.c $(.PREFIX).cc mv y.tab.h $(.PREFIX).tab.h - $(GXX) $(GXXFLAGS) -c $(.PREFIX).cc + $(CXX) $(CXXFLAGS) -c $(.PREFIX).cc -rm -f $(.PREFIX).cc |
