diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2017-12-01 19:25:49 +0100 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-01-11 05:43:30 -0800 |
commit | 497981f14ac28370b6d97064e922001f996fda3e (patch) | |
tree | 4716623efd607325a09bb12594e15b0aa4a9b72c /Makefile | |
parent | b07b4b9c71fd54a923fa914a046fcf7183d65c22 (diff) | |
download | vboot-497981f14ac28370b6d97064e922001f996fda3e.tar.gz |
Makefile: Add pthread library to the futility static build
This adds the pthread library to the linker flags for the static
futility build, which allows it to build with recent GCC versions.
BUG=None
BRACH=None
TEST=Build futility and futility_s with a recent GCC version
Change-Id: I16d9b94b76d6e9586278cfdc0b99ae749160138a
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-on: https://chromium-review.googlesource.com/805374
Reviewed-by: Martin Roth <martinroth@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1117,7 +1117,7 @@ signing_install: ${SIGNING_SCRIPTS} ${SIGNING_SCRIPTS_DEV} ${SIGNING_COMMON} .PHONY: futil futil: ${FUTIL_STATIC_BIN} ${FUTIL_BIN} -${FUTIL_STATIC_BIN}: LDLIBS += ${CRYPTO_STATIC_LIBS} +${FUTIL_STATIC_BIN}: LDLIBS += ${CRYPTO_STATIC_LIBS} -lpthread ${FUTIL_STATIC_BIN}: ${FUTIL_STATIC_OBJS} ${FWLIB} ${FWLIB21} @${PRINTF} " LD $(subst ${BUILD}/,,$@)\n" ${Q}${LD} -o $@ ${CFLAGS} ${LDFLAGS} -static $^ ${LDLIBS} |