diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2023-06-01 19:03:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-01 19:03:24 +0300 |
commit | 5cbd1f2960662c18b1d2b2dac7352f2b5b1ba776 (patch) | |
tree | 63307cd7675c80b74206b58bee4f6b410bbe346b /Makefile | |
parent | af144563835849350015113e936e44bf2d44906a (diff) |
Add -Werror as a default. (#1193)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ export REDIS_TEST_CONFIG CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc') CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++') OPTIMIZATION?=-O3 -WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers +WARNINGS=-Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers DEBUG_FLAGS?= -g -ggdb REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CPPFLAGS) $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS) $(PLATFORM_FLAGS) REAL_LDFLAGS=$(LDFLAGS) |