mirror of
https://github.com/wg/wrk
synced 2025-01-24 12:42:53 +08:00
minor Makefile improvements
This commit is contained in:
parent
14088561d9
commit
205a1960c8
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
CFLAGS := -std=c99 -Wall -O2 -D_REENTRANT
|
CFLAGS := -std=c99 -Wall -O2 -D_REENTRANT
|
||||||
LIBS := -lpthread -lm -lcrypto -lssl
|
LIBS := -lpthread -lm -lcrypto -lssl
|
||||||
|
|
||||||
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)
|
||||||
CFLAGS += -D_PTHREADS -D_POSIX_C_SOURCE=200112L
|
CFLAGS += -D_PTHREADS -D_POSIX_C_SOURCE=200112L
|
||||||
|
Loading…
Reference in New Issue
Block a user