From 3fdb50925ecb6be8db670dbc4aa4b89b001997e9 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 20 Feb 2012 18:22:25 +0000 Subject: [PATCH] Explicitly flag the precompiled header as a C++ header to silence a clang warning Originally committed to SVN as r6494. --- aegisub/Makefile.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/Makefile.target b/aegisub/Makefile.target index 7c7866e51..1e878c160 100644 --- a/aegisub/Makefile.target +++ b/aegisub/Makefile.target @@ -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 $<