mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 01:20:50 +00:00
Example modules: Add C99 standard to cflags.
This commit is contained in:
parent
d35deb2327
commit
56dba3adcc
@ -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
|
SHOBJ_CFLAGS ?= -fno-common -g -ggdb -std=c99
|
||||||
SHOBJ_LDFLAGS ?= -shared
|
SHOBJ_LDFLAGS ?= -shared
|
||||||
else
|
else
|
||||||
SHOBJ_CFLAGS ?= -dynamic -fno-common -g -ggdb
|
SHOBJ_CFLAGS ?= -dynamic -fno-common -g -ggdb -std=c99
|
||||||
SHOBJ_LDFLAGS ?= -bundle -undefined dynamic_lookup
|
SHOBJ_LDFLAGS ?= -bundle -undefined dynamic_lookup
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user