Skip to content
Snippets Groups Projects
Commit e2e5bc90 authored by Arseny Kapoulkine's avatar Arseny Kapoulkine
Browse files

Use -fno-exceptions flag for PUGIXML_NO_EXCEPTIONS build

This makes sure that no exception handling mechanisms are used if
PUGXML_NO_EXCEPTIONS is defined.
parent 814443b1
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment