diff --git a/Makefile b/Makefile index c26a6d6aa..aa2cd2a72 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ else # !COMSPEC endif # COMSPEC ifndef CXXFLAGS - CXXFLAGS=-O2 -DNDEBUG -Wall + CXXFLAGS=-pedantic -Wall -Wextra -Wabi -Wcast-qual -Wfloat-equal -Winline -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Woverloaded-virtual -Wpacked -Wredundant-decls -Wshadow -Wsign-promo $(CPPCHK_GLIBCXX_DEBUG) -g endif ifeq ($(HAVE_RULES),yes)