From 3dcaf6253b0f8fed1b1de1363ca06e0833ee2305 Mon Sep 17 00:00:00 2001 From: Cary R Date: Wed, 6 Jan 2010 13:39:16 -0800 Subject: [PATCH] Use CXXFLAGS when compiling C++ programs. We already have this flag so we may as well us it in the vpi directory to compile C++ programs. --- vpi/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vpi/Makefile.in b/vpi/Makefile.in index cb1a68197..95cf981e0 100644 --- a/vpi/Makefile.in +++ b/vpi/Makefile.in @@ -42,6 +42,7 @@ YACC = @YACC@ CPPFLAGS = -I. -I$(srcdir)/.. -I$(srcdir) -I.. @file64_support@ @CPPFLAGS@ @DEFS@ @PICFLAG@ CFLAGS = -Wall @CFLAGS@ +CXXFLAGS = -Wall @CXXFLAGS@ LDFLAGS = @LDFLAGS@ all: dep system.vpi va_math.vpi v2005_math.vpi $(ALL32) @@ -56,7 +57,7 @@ dep: mv $*.d dep %.o: %.cc vpi_config.h - $(CXX) $(CPPFLAGS) $(CFLAGS) -MD -c $< -o $*.o + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o mv $*.d dep # Object files for system.vpi