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.
This commit is contained in:
Cary R 2008-12-31 19:27:37 -08:00 committed by Stephen Williams
parent 1fe6c1941b
commit f1b0a77e0f
1 changed files with 1 additions and 1 deletions

View File

@ -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...