summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-21 21:27:44 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-21 21:27:44 -0700
commitf9983ea2ed47811ad5a7e41b816642615cbd674f (patch)
treec20551f1a314ee5776680d9171388cfa5f8bd95a /Makefile
parentcb786665d44598cbaff721e50d6a56b7538789e5 (diff)
parenta6cc636a6b0d531686311b5666ea77225b10903e (diff)
Merge branch 'master' into compact
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 59f055b..ead0ddd 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,11 @@ ifneq ($(findstring PUGIXML_NO_EXCEPTIONS,$(defines)),)
CXXFLAGS+=-fno-exceptions
endif
+ifeq ($(findstring PUGIXML_NO_CXX11,$(defines)),)
+ # Can't use std=c++11 since Travis-CI has gcc 4.6.3
+ CXXFLAGS+=-std=c++0x
+endif
+
OBJECTS=$(SOURCES:%=$(BUILD)/%.o)
all: $(EXECUTABLE)