Use -std=c++0x instead of -std=c++11

This commit is contained in:
Arseny Kapoulkine
2015-04-21 20:46:33 -07:00
parent 8d4544f2e1
commit 250d020e9b

View File

@@ -35,7 +35,8 @@ ifneq ($(findstring PUGIXML_NO_EXCEPTIONS,$(defines)),)
endif
ifeq ($(findstring PUGIXML_NO_CXX11,$(defines)),)
CXXFLAGS+=-std=c++11
# Can't use std=c++11 since Travis-CI has gcc 4.6.3
CXXFLAGS+=-std=c++0x
endif
OBJECTS=$(SOURCES:%=$(BUILD)/%.o)