commit 7131042a2d622b11130640a39c0dcf644f542d0f parent 5abf4bb24e9a1d81ba9853a0c7d8a34fe8df23bf Author: Michael Savage <mikejsavage@gmail.com> Date: Sun May 8 22:22:10 +0100 -Wno-misleading-indentation when building STB libs Diffstat:
rules.mk | | | 1 | + |
diff --git a/rules.mk b/rules.mk @@ -13,6 +13,7 @@ $(STB_CCS): %.cc: %.h # The STB libraries need you to pass -DSTB_*_IMPLEMENTATION to get the actual code STB_CXXFLAGS := $(shell echo $(addprefix -DSTB_,$(addsuffix _IMPLEMENTATION,$(STBS))) | tr a-z A-Z) +STB_CXXFLAGS += -Wno-misleading-indentation $(STB_OBJS): %.o: %.cc $(CXX) -c -o $@ $*.cc $(CXXFLAGS) $(STB_CXXFLAGS)