mirror of
https://github.com/wg/wrk
synced 2025-01-23 04:02:59 +08:00
define _DEFAULT_SOURCE on linux
This commit is contained in:
parent
a5d9db0bd0
commit
7594a95186
2
Makefile
2
Makefile
@ -9,7 +9,7 @@ ifeq ($(TARGET), sunos)
|
||||
else ifeq ($(TARGET), darwin)
|
||||
LDFLAGS += -pagezero_size 10000 -image_base 100000000
|
||||
else ifeq ($(TARGET), linux)
|
||||
CFLAGS += -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE
|
||||
CFLAGS += -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE
|
||||
LIBS += -ldl
|
||||
LDFLAGS += -Wl,-E
|
||||
else ifeq ($(TARGET), freebsd)
|
||||
|
Loading…
Reference in New Issue
Block a user