Makefile: use -pthread instead of -lpthread

The latter does not work on android.
This commit is contained in:
Dmitry Vyukov 2016-01-25 11:04:49 +01:00
parent 1000609a2c
commit 71c8a60fee

View File

@ -13,7 +13,7 @@ all: manager fuzzer executor
all-tools: execprog mutate prog2c stress repro upgrade
executor:
$(CC) -o ./bin/syz-executor executor/executor.cc -lpthread -Wall -O1 -g $(STATIC_FLAG) $(CFLAGS)
$(CC) -o ./bin/syz-executor executor/executor.cc -pthread -Wall -O1 -g $(STATIC_FLAG) $(CFLAGS)
manager:
go build -o ./bin/syz-manager github.com/google/syzkaller/syz-manager