forked from mia/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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue