diff --git a/gnu/usr.bin/egcs/cpp/Makefile b/gnu/usr.bin/egcs/cpp/Makefile index 3500b1d2bf19..ef18f9ef029a 100644 --- a/gnu/usr.bin/egcs/cpp/Makefile +++ b/gnu/usr.bin/egcs/cpp/Makefile @@ -1,11 +1,16 @@ # from: @{#}Makefile 6.4 (Berkeley) 2/21/91 -# $NetBSD: Makefile,v 1.7 1998/08/16 22:09:02 tv Exp $ +# $NetBSD: Makefile,v 1.8 1998/10/04 18:43:30 tv Exp $ + +HAVE_GCC28!= ${CXX} --version | egrep "^(2\.8|egcs)" ; echo PROG= cpp BINDIR= /usr/libexec SRCS= cccp.c cexp.y obstack.c prefix.c version.c CPPFLAGS+= -DGCC_INCLUDE_DIR=\"\" \ -DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\" +.if empty(HAVE_GCC28) +CWARNFLAGS+= -Wno-error +.endif LINKS= /usr/bin/cpp /usr/bin/gcpp FILES= usr.bin.cpp.sh