File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ $(OBJDIR)/%.o: %.m deps/%.d $(MAKEFILE)
2424 $(POSTCOMPILE)
2525
2626$(OBJDIR)/%.o: %.cpp deps/%.d $(MAKEFILE)
27- $(CC) -x c++ $(ALLFLAGS) $(INCLUDES) -c $< -o $@
27+ $(CC) -x c++ -std=c++11 -stdlib=libc++ $(ALLFLAGS) $(INCLUDES) -c $< -o $@
2828 $(POSTCOMPILE)
2929
3030deps/%.d: ;
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ $(OBJDIR)/%.o: %.m deps/%.d $(MAKEFILE)
2424 $(POSTCOMPILE)
2525
2626$(OBJDIR)/%.o: %.cpp deps/%.d $(MAKEFILE)
27- $(CC) -x c++ $(ALLFLAGS) $(INCLUDES) -c $< -o $@
27+ $(CC) -x c++ -std=c++11 -stdlib=libc++ $(ALLFLAGS) $(INCLUDES) -c $< -o $@
2828 $(POSTCOMPILE)
2929
3030deps/%.d: ;
3131
32- .PRECIOUS: deps/%.d $(OBJDIR)/%.air $(OBJDIR)/%.metallib
32+ .PRECIOUS: deps/%.d
3333
3434-include $(patsubst %,deps/%.d,$(notdir $(basename $(VMSRC) $(LIBSRC))))
You can’t perform that action at this time.
0 commit comments