summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-21 20:32:40 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-21 20:32:40 -0700
commit8d4544f2e1f95ffbf83bc2233850fcafdf0195ea (patch)
treea6afca34852a810292441c4654f20801aecb91b4
parent4eadece45f559825b236709ffb92037c6af5e962 (diff)
Enable C++11 in Makefile
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 59f055b..8bb0a19 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,10 @@ ifneq ($(findstring PUGIXML_NO_EXCEPTIONS,$(defines)),)
CXXFLAGS+=-fno-exceptions
endif
+ifeq ($(findstring PUGIXML_NO_CXX11,$(defines)),)
+ CXXFLAGS+=-std=c++11
+endif
+
OBJECTS=$(SOURCES:%=$(BUILD)/%.o)
all: $(EXECUTABLE)