summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4121913..0b0b95f 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,8 @@ ifneq ($(HAVE_LIBPCRECPP),)
LIBS += $(HAVE_LIBPCRECPP)
endif
+CXXFLAGS += -std=c++11 -Wfatal-errors -Wall # -Werror
+
### export all vars for sub-makes, using absolute paths
LIBDIR := $(shell cd $(LIBDIR) >/dev/null 2>&1 && pwd)
LOCDIR := $(shell cd $(LOCDIR) >/dev/null 2>&1 && pwd)