aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--templates/Makefile.template2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 372284d6a0..fb665c26b4 100644
--- a/Makefile
+++ b/Makefile
@@ -122,7 +122,7 @@ LDFLAGS += $(LDFLAGS_$(CONFIG))
CFLAGS += -std=c89 -pedantic
CXXFLAGS += -std=c++11
-CPPFLAGS += -g -fPIC -Wall -Werror -Wno-long-long
+CPPFLAGS += -g -fPIC -Wall -Wextra -Wno-long-long
LDFLAGS += -g -fPIC
INCLUDES = . include gens
diff --git a/templates/Makefile.template b/templates/Makefile.template
index a3de50c081..6f196ebec1 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -139,7 +139,7 @@ LDFLAGS += $(LDFLAGS_$(CONFIG))
CFLAGS += -std=c89 -pedantic
CXXFLAGS += -std=c++11
-CPPFLAGS += -g -fPIC -Wall -Werror -Wno-long-long
+CPPFLAGS += -g -fPIC -Wall -Wextra -Wno-long-long
LDFLAGS += -g -fPIC
INCLUDES = . include gens