summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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)