Skip to content

Commit fa0ac99

Browse files
committed
wrk: compile on sunos
1 parent 581b858 commit fa0ac99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/wrk/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LIBS := -lpthread -lm -lopenssl
44
TARGET := $(shell uname -s | tr [A-Z] [a-z] 2>/dev/null || echo unknown)
55

66
ifeq ($(TARGET), sunos)
7-
CFLAGS += -D_PTHREADS -D_POSIX_C_SOURCE=200112L
7+
CFLAGS += -D_PTHREADS -D_POSIX_C_SOURCE=200112L -DBSD_COMP
88
LIBS += -lsocket
99
else ifeq ($(TARGET), darwin)
1010
LDFLAGS += -pagezero_size 10000 -image_base 100000000

0 commit comments

Comments
 (0)