From 250d020e9b121f537bbcbf8439033ba4a6f225ef Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Tue, 21 Apr 2015 20:46:33 -0700 Subject: Use -std=c++0x instead of -std=c++11 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8bb0a19..ead0ddd 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3