Project

General

Profile

[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  SVN::S4
  Voneline
  WFH
General Info
  Papers

system-flags.diff

أحمد المحمودي, 07/07/2019 12:49 AM

Download (2.17 KB)

View differences:

verilator-4.016/configure.ac
91 91
AC_MSG_RESULT($CFG_WITH_PREC11)
92 92

  
93 93
# Compiler flags
94
CFLAGS=-I${includedir}
95
CPPFLAGS=-I${includedir}
96
CXXFLAGS=-I${includedir}
97
LDFLAGS=-L${libdir}
94
CFLAGS+=" -I${includedir}"
95
CPPFLAGS+=" -I${includedir}"
96
CXXFLAGS+=" -I${includedir}"
97
LDFLAGS+=" -L${libdir}"
98 98

  
99 99
# Checks for programs.
100 100
AC_PROG_CC
101
-- verilator-4.016.orig/src/Makefile_obj.in
101
++ verilator-4.016/src/Makefile_obj.in
......
60 60
CFG_WITH_CCWARN = @CFG_WITH_CCWARN@
61 61
CFG_WITH_DEFENV = @CFG_WITH_DEFENV@
62 62
CPPFLAGS += @CPPFLAGS@
63
CFLAGS += @CFLAGS@
64
CXXFLAGS += @CXXFLAGS@
63 65
LDFLAGS += @LDFLAGS@
64 66
EXEEXT = @EXEEXT@
65 67
CFG_CXXFLAGS_SRC = @CFG_CXXFLAGS_SRC@
......
135 137
all: make_info $(TGT)
136 138

  
137 139
make_info:
138
	@echo "      Compile flags: " $(CXX) ${CPPFLAGS}
140
	@echo "      Compile flags: " $(CXX) ${CFLAGS} ${CXXFLAGS} ${CPPFLAGS}
139 141

  
140 142
clean mostlyclean distclean maintainer-clean::
141 143
	-rm -f *.o *.d perlxsi.c *_gen_*
......
280 282
	$(PERL) $(ASTGEN) -I$(srcdir) $*.cpp
281 283

  
282 284
%.o:	%.cpp
283
	$(OBJCACHE) ${CXX} ${CPPFLAGSWALL} -c $<
285
	$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSWALL} -c $<
284 286
%.o:	%.c
285
	$(OBJCACHE) ${CC}  ${CPPFLAGSWALL} -c $<
287
	$(OBJCACHE) ${CC}  ${CFLAGS} ${CPPFLAGSWALL} -c $<
286 288

  
287 289
V3ParseLex.o:	V3ParseLex.cpp V3Lexer.yy.cpp V3ParseBison.c
288
	$(OBJCACHE) ${CXX} ${CPPFLAGSPARSER} -c $<
290
	$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSPARSER} -c $<
289 291

  
290 292
V3ParseGrammar.o:	V3ParseGrammar.cpp V3ParseBison.c
291
	$(OBJCACHE) ${CXX} ${CPPFLAGSPARSER} -c $<
293
	$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSPARSER} -c $<
292 294

  
293 295
V3ParseImp.o:	V3ParseImp.cpp V3ParseBison.c
294
	$(OBJCACHE) ${CXX} ${CPPFLAGSPARSER} -c $<
296
	$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSPARSER} -c $<
295 297

  
296 298
V3PreProc.o:	V3PreProc.cpp V3PreLex.yy.cpp
297
	$(OBJCACHE) ${CXX} ${CPPFLAGSPARSER} -c $<
299
	$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSPARSER} -c $<
298 300

  
299 301
#### Generated files
300 302