Fix build on gcc when using the spack wrapper (#5555)

This commit is contained in:
Eric Müller
2024-10-24 07:53:11 -04:00
committed by GitHub
parent 647af27274
commit 4e5c7f4568
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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