Browse Source

wrk: compile on sunos

v0.11.12-release
Timothy J Fontaine 11 years ago
parent
commit
fa0ac99541
  1. 2
      tools/wrk/Makefile

2
tools/wrk/Makefile

@ -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

Loading…
Cancel
Save