projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fd8650
)
Compile and link with -pthread, not -lpthread.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Fri, 19 Apr 2013 21:44:23 +0000
(23:44 +0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Fri, 19 Apr 2013 21:44:23 +0000
(23:44 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
1232ae1
..
36fb4f8
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,8
+1,9
@@
CC=gcc
CXX=g++
PROTOC=protoc
-CXXFLAGS=-Wall -O2 -g
-LDLIBS=-lpthread -lprotobuf
+CXXFLAGS=-Wall -O2 -g -pthread
+LDLIBS=-lprotobuf
+LDFLAGS=-pthread
OBJS=main.o client.o server.o stream.o serverpool.o mutexlock.o input.o httpinput.o udpinput.o parse.o config.o markpool.o acceptor.o stats.o accesslog.o thread.o util.o log.o state.pb.o