summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-21 20:46:33 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-21 20:46:33 -0700
commit250d020e9b121f537bbcbf8439033ba4a6f225ef (patch)
tree4ac7d52325a350bc4bbe7f0210e83fb7dcc843f0 /Makefile
parent8d4544f2e1f95ffbf83bc2233850fcafdf0195ea (diff)
Use -std=c++0x instead of -std=c++11
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)