aboutsummaryrefslogtreecommitdiff
path: root/mk/patterns.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-03 17:37:14 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-03 17:37:14 +0200
commitdaa16cca11304a0e91a188176959e2af28be1f57 (patch)
tree5eec8af63571cc622799bd9593a371daf1534ea1 /mk/patterns.mk
parentf0de86357c18e18eccd814c8bea3bfdaf10f75f5 (diff)
parent7191a7394a3091ed2856508674f84f3a87eda5a6 (diff)
Sync with make-rules repo
Diffstat (limited to 'mk/patterns.mk')
-rw-r--r--mk/patterns.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/patterns.mk b/mk/patterns.mk
index f5674d404..6b2cfd017 100644
--- a/mk/patterns.mk
+++ b/mk/patterns.mk
@@ -1,8 +1,8 @@
%.o: %.cc
- $(trace-cxx) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(call filename-to-dep, $@) -MP
+ $(trace-cxx) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(GLOBAL_CXXFLAGS_PCH) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(call filename-to-dep, $@) -MP
%.o: %.cpp
- $(trace-cxx) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(call filename-to-dep, $@) -MP
+ $(trace-cxx) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(GLOBAL_CXXFLAGS_PCH) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(call filename-to-dep, $@) -MP
%.o: %.c
$(trace-cc) $(CC) -o $@ -c $< $(GLOBAL_CFLAGS) $(CFLAGS) $($@_CFLAGS) -MMD -MF $(call filename-to-dep, $@) -MP