Use -std=c++0x instead of -std=c++11
This commit is contained in:
parent
8d4544f2e1
commit
250d020e9b
3
Makefile
3
Makefile
@ -35,7 +35,8 @@ ifneq ($(findstring PUGIXML_NO_EXCEPTIONS,$(defines)),)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(findstring PUGIXML_NO_CXX11,$(defines)),)
|
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
|
endif
|
||||||
|
|
||||||
OBJECTS=$(SOURCES:%=$(BUILD)/%.o)
|
OBJECTS=$(SOURCES:%=$(BUILD)/%.o)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user