Skip to content

Commit

Permalink
Fix build on gcc when using the spack wrapper (verilator#5555)
Browse files Browse the repository at this point in the history
  • Loading branch information
muffgaga authored Oct 24, 2024
1 parent 647af27 commit 4e5c7f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Drew Ranck
Drew Taussig
Driss Hafdi
Edgar E. Iglesias
Eric Müller
Eric Rippey
Ethan Sifferman
Eyck Jentzsch
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile_obj.in
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ $(TGT): $(PREDEP_H) $(OBJS)
.SECONDARY:

%.gch: %
$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSWALL} ${CFG_CXXFLAGS_PCH} $< -o $@
$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSWALL} ${CFG_CXXFLAGS_PCH} -c $< -o $@
%.o: %.cpp
$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSWALL} -c $< -o $@
%.o: %.c
Expand Down

0 comments on commit 4e5c7f4

Please sign in to comment.