Skip to content

Commit

Permalink
wrk: compile on sunos
Browse files Browse the repository at this point in the history
  • Loading branch information
tjfontaine committed Feb 25, 2014
1 parent 581b858 commit fa0ac99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/wrk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LIBS := -lpthread -lm -lopenssl
TARGET := $(shell uname -s | tr [A-Z] [a-z] 2>/dev/null || echo unknown)

ifeq ($(TARGET), sunos)
CFLAGS += -D_PTHREADS -D_POSIX_C_SOURCE=200112L
CFLAGS += -D_PTHREADS -D_POSIX_C_SOURCE=200112L -DBSD_COMP
LIBS += -lsocket
else ifeq ($(TARGET), darwin)
LDFLAGS += -pagezero_size 10000 -image_base 100000000
Expand Down

0 comments on commit fa0ac99

Please sign in to comment.