summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0e64129..59f055b 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,10 @@ ifneq ($(defines),standard)
CXXFLAGS+=-D $(subst $(COMMA), -D ,$(defines))
endif
+ifneq ($(findstring PUGIXML_NO_EXCEPTIONS,$(defines)),)
+ CXXFLAGS+=-fno-exceptions
+endif
+
OBJECTS=$(SOURCES:%=$(BUILD)/%.o)
all: $(EXECUTABLE)