build: use -pthreads, older gccs don't recognize -pthread

This commit is contained in:
Ben Noordhuis 2011-08-11 23:20:37 +00:00
parent b44f9d75ea
commit c952352f77

View File

@ -75,7 +75,7 @@ endif
# Need _GNU_SOURCE for strdup?
RUNNER_CFLAGS=$(CFLAGS) -D_GNU_SOURCE
RUNNER_LINKFLAGS=$(LINKFLAGS) -pthread
RUNNER_LINKFLAGS=$(LINKFLAGS) -pthreads
RUNNER_LIBS=
RUNNER_SRC=test/runner-unix.c