Enable warning in example modules Makefile.

This commit is contained in:
antirez 2016-10-07 13:07:13 +02:00
parent 925752a13d
commit c10a839e82

View File

@ -4,10 +4,10 @@ uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
# Compile flags for linux / osx # Compile flags for linux / osx
ifeq ($(uname_S),Linux) 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 SHOBJ_LDFLAGS ?= -shared
else 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 SHOBJ_LDFLAGS ?= -bundle -undefined dynamic_lookup
endif endif