mirror of https://github.com/odrling/Aegisub
Don't pass CXXFLAGS to the compiler when compiling .c files
Originally committed to SVN as r5511.
This commit is contained in:
parent
263d161d26
commit
e92d6f6f65
|
@ -160,7 +160,7 @@ endif
|
||||||
.SUFFIXES: .o .c .cpp .cxx
|
.SUFFIXES: .o .c .cpp .cxx
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
$(CXX_ENV) $(BIN_CC) $(CFLAGS_DEP) $(CFLAGS) $(CXXFLAGS) -c -o $@ $<
|
$(CXX_ENV) $(BIN_CC) $(CFLAGS_DEP) $(CFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX_ENV) $(BIN_CXX) $(CFLAGS_DEP) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
|
$(CXX_ENV) $(BIN_CXX) $(CFLAGS_DEP) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
|
||||||
|
|
Loading…
Reference in New Issue