From e92d6f6f65b753786ad2fe0eb7872f0008f75e45 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 26 Jul 2011 22:24:26 +0000 Subject: [PATCH] Don't pass CXXFLAGS to the compiler when compiling .c files Originally committed to SVN as r5511. --- aegisub/Makefile.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/Makefile.target b/aegisub/Makefile.target index e411122d0..acc7d260f 100644 --- a/aegisub/Makefile.target +++ b/aegisub/Makefile.target @@ -160,7 +160,7 @@ endif .SUFFIXES: .o .c .cpp .cxx %.o: %.c - $(CXX_ENV) $(BIN_CC) $(CFLAGS_DEP) $(CFLAGS) $(CXXFLAGS) -c -o $@ $< + $(CXX_ENV) $(BIN_CC) $(CFLAGS_DEP) $(CFLAGS) -c -o $@ $< %.o: %.cpp $(CXX_ENV) $(BIN_CXX) $(CFLAGS_DEP) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<