From f1b0a77e0f4b235161e504df3574e4b5f3c2acde Mon Sep 17 00:00:00 2001 From: Cary R Date: Wed, 31 Dec 2008 19:27:37 -0800 Subject: [PATCH] In the MinGW iverilog-vpi driver use $CFLAGS instead of CXXFLAGS. CFLAGS has the appropriate -W flags defined while CXXFLAGS is just the default. The script iverilog-vpi uses CXXFLAGS because it is defined in the Makefile to have the -W flags. This directory is C based so does not define CXXFLAGS. --- driver-vpi/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver-vpi/Makefile.in b/driver-vpi/Makefile.in index d91cb876c..9c14aef4b 100644 --- a/driver-vpi/Makefile.in +++ b/driver-vpi/Makefile.in @@ -72,7 +72,7 @@ main.o: main.c config.h config.h: $(srcdir)/config.h.in Makefile sed -e 's;@IVLCC@;@CC@;' -e 's;@IVLCXX@;@CXX@;' \ -e 's;@SUFFIX@;$(suffix);g' \ - -e 's;@IVLCFLAGS@;@CXXFLAGS@;' \ + -e 's;@IVLCFLAGS@;$(CFLAGS);' \ -e 's;@SHARED@;@shared@;' $< > $@ # Windows specific...