From 31edc08ceaeb8a9517adab12830751ac875740a2 Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Tue, 24 Mar 2015 20:50:30 -0700 Subject: [PATCH] Linux: added missing -pthread flag LDFLAGS was missing -pthread Signed-off-by: Mark Charlebois --- makefiles/toolchain_native.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/toolchain_native.mk b/makefiles/toolchain_native.mk index 5d0844cca7..f790940b89 100644 --- a/makefiles/toolchain_native.mk +++ b/makefiles/toolchain_native.mk @@ -193,7 +193,7 @@ ARCHWARNINGSXX = $(ARCHWARNINGS) \ # pull in *just* libm from the toolchain ... this is grody LIBM := $(shell $(CC) $(ARCHCPUFLAGS) -print-file-name=libm.a) #EXTRA_LIBS += $(LIBM) -EXTRA_LIBS += -lm -lrt +EXTRA_LIBS += -pthread -lm -lrt # Flags we pass to the C compiler #