Skip to content

Commit c1d0cae

Browse files
committed
Intentionally include system headers in PCH dependencies
1 parent 18967d4 commit c1d0cae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

make/program

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ $(CMDSTAN_MAIN_O) : $(CMDSTAN_MAIN)
1818
##
1919
ifneq ($(PRECOMPILED_MODEL_HEADER),)
2020
$(patsubst %.hpp.gch,%.d,$(PRECOMPILED_MODEL_HEADER)) : DEPTARGETS = -MT $@
21+
$(patsubst %.hpp.gch,%.d,$(PRECOMPILED_MODEL_HEADER)) : DEPFLAGS_OS = -M -E
2122
$(patsubst %.hpp.gch,%.d,$(PRECOMPILED_MODEL_HEADER)) : $(STAN)src/stan/model/model_header.hpp
2223
@mkdir -p $(dir $@)
2324
$(COMPILE.cpp) $(DEPFLAGS) $<

0 commit comments

Comments
 (0)