Commit e54def88 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Define POSIX.1-2001

parent 3ce256cf
......@@ -12,7 +12,7 @@ STLIBNAME= $(LIBNAME).$(STLIBSUFFIX)
STLIB_MAKE_CMD= ar rcs $(STLIBNAME)
# Default settings
STD= -std=c99 -pedantic
STD= -std=c99 -pedantic -D_POSIX_C_SOURCE=200112L
WARN= -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-unused-label
OPT= -O3
FINAL_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) -fPIC $(CFLAGS) $(HIREDIS_CFLAGS)
......
include ../src/Makefile.common
STD= -std=c99 -pedantic
STD= -std=c99 -pedantic -D_POSIX_C_SOURCE=200112L
OPT= -O0
WARN= -Wall -W
HIREDIS_CFLAGS+= -I../src
......
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