Add back in missing -lpthread. Fixes #1127.
This commit is contained in:
parent
00576fd737
commit
76e785578b
2 changed files with 2 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -32,7 +32,7 @@ CFLAGS += -Wmissing-prototypes -fms-extensions
|
|||
CFLAGS += -g -funsigned-char -O2
|
||||
CFLAGS += -D_FILE_OFFSET_BITS=64
|
||||
CFLAGS += -I${BUILDDIR} -I${CURDIR}/src -I${CURDIR}
|
||||
LDFLAGS += -lrt -ldl
|
||||
LDFLAGS += -lrt -ldl -lpthread
|
||||
|
||||
#
|
||||
# Binaries/Scripts
|
||||
|
|
|
@ -330,6 +330,7 @@ function write_config
|
|||
ROOTDIR ?= ${ROOTDIR}
|
||||
BUILDDIR ?= ${ROOTDIR}/build.${PLATFORM}
|
||||
OSENV ?= ${OSENV}
|
||||
ARCH = ${ARCH}
|
||||
CFLAGS += ${CFLAGS}
|
||||
LDFLAGS += ${LDFLAGS}
|
||||
EOF
|
||||
|
|
Loading…
Add table
Reference in a new issue