mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
wlantest: Do not include rt library for OS X builds
That is not needed or available by default, so simply drop it from the build. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
d4c3964117
commit
d73bbae492
@ -2,6 +2,8 @@ ALL=wlantest wlantest_cli test_vectors
|
|||||||
|
|
||||||
all: $(ALL)
|
all: $(ALL)
|
||||||
|
|
||||||
|
UNAME := $(shell uname -s)
|
||||||
|
|
||||||
ifndef CC
|
ifndef CC
|
||||||
CC=gcc
|
CC=gcc
|
||||||
endif
|
endif
|
||||||
@ -19,8 +21,10 @@ CFLAGS += -I.
|
|||||||
CFLAGS += -I../src
|
CFLAGS += -I../src
|
||||||
CFLAGS += -I../src/utils
|
CFLAGS += -I../src/utils
|
||||||
|
|
||||||
|
ifneq ($(UNAME),Darwin)
|
||||||
# glibc < 2.17 needs -lrt for clock_gettime()
|
# glibc < 2.17 needs -lrt for clock_gettime()
|
||||||
LIBS += -lrt
|
LIBS += -lrt
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef LDO
|
ifndef LDO
|
||||||
LDO=$(CC)
|
LDO=$(CC)
|
||||||
|
Loading…
Reference in New Issue
Block a user