aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-01-25 11:04:49 +0100
committerDmitry Vyukov <dvyukov@google.com>2016-01-25 11:06:30 +0100
commit71c8a60fee3cd389849444d84fe95fa0d90f0d57 (patch)
tree0f313dfad9bd0f94bd1d090041df763e7e9cdd0e /Makefile
parent1000609a2c270c004a60e873aaf9c78ab24b986f (diff)
Makefile: use -pthread instead of -lpthread
The latter does not work on android.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f9f3da911..85f1ae44f 100644
--- a/Makefile
+++ b/Makefile
@@ -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