Commit 56dba3ad authored by antirez's avatar antirez
Browse files

Example modules: Add C99 standard to cflags.

parent d35deb23
......@@ -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
SHOBJ_CFLAGS ?= -fno-common -g -ggdb -std=c99
SHOBJ_LDFLAGS ?= -shared
else
SHOBJ_CFLAGS ?= -dynamic -fno-common -g -ggdb
SHOBJ_CFLAGS ?= -dynamic -fno-common -g -ggdb -std=c99
SHOBJ_LDFLAGS ?= -bundle -undefined dynamic_lookup
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment