From c10a839e8216b53151e1a94b3e3aa1608612a73e Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 7 Oct 2016 13:07:13 +0200 Subject: [PATCH] Enable warning in example modules Makefile. --- src/modules/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/Makefile b/src/modules/Makefile index 554642ffd..1027b2e0e 100644 --- a/src/modules/Makefile +++ b/src/modules/Makefile @@ -4,10 +4,10 @@ uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') # Compile flags for linux / osx ifeq ($(uname_S),Linux) - SHOBJ_CFLAGS ?= -fno-common -g -ggdb -std=c99 -O2 + SHOBJ_CFLAGS ?= -W -Wall -fno-common -g -ggdb -std=c99 -O2 SHOBJ_LDFLAGS ?= -shared else - SHOBJ_CFLAGS ?= -dynamic -fno-common -g -ggdb -std=c99 -O2 + SHOBJ_CFLAGS ?= -W -Wall -dynamic -fno-common -g -ggdb -std=c99 -O2 SHOBJ_LDFLAGS ?= -bundle -undefined dynamic_lookup endif