mirror of
https://github.com/wg/wrk
synced 2026-06-09 16:43:42 +08:00
Compare commits
1 Commits
@@ -1,10 +1,11 @@
|
|||||||
CFLAGS := -std=c99 -Wall -O2
|
CFLAGS := -std=c99 -Wall -O2 -D_REENTRANT
|
||||||
LIBS := -lpthread -lm
|
LIBS := -lpthread -lm
|
||||||
|
|
||||||
TARGET := $(shell uname -s | tr [A-Z] [a-z] 2>/dev/null || echo unknown)
|
TARGET := $(shell uname -s | tr [A-Z] [a-z] 2>/dev/null || echo unknown)
|
||||||
|
|
||||||
ifeq ($(TARGET), sunos)
|
ifeq ($(TARGET), sunos)
|
||||||
LIBS += -lsocket
|
CFLAGS += -D_PTHREADS
|
||||||
|
LIBS += -lsocket
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SRC := wrk.c aprintf.c stats.c units.c ae.c zmalloc.c http_parser.c tinymt64.c
|
SRC := wrk.c aprintf.c stats.c units.c ae.c zmalloc.c http_parser.c tinymt64.c
|
||||||
|
|||||||
Reference in New Issue
Block a user