Explicitly flag the precompiled header as a C++ header to silence a clang warning

Originally committed to SVN as r6494.
This commit is contained in:
Thomas Goyne 2012-02-20 18:22:25 +00:00
parent f79e933ac9
commit 3fdb50925e
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ endif
$(CXX_ENV) $(BIN_CXX) $(CFLAGS_DEP) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
$(PRECOMPILED_HEADER_NAME).gch: $(PRECOMPILED_HEADER_NAME)
$(CXX_ENV) $(BIN_CXX) $(CPPFLAGS) $(CXXFLAGS) $<
$(CXX_ENV) $(BIN_CXX) $(CPPFLAGS) $(CXXFLAGS) -x c++-header $<