add timeout in pthread, ldflags hack, nicer error formatting
[libc-test] / Makefile.inc
index 5f1d614..9b97adb 100644 (file)
@@ -20,7 +20,7 @@ AR=ar
 RANLIB=ranlib
 
 CFLAGS += -g -std=c99 -pipe -Wall
-LDFLAGS += -g
+LDFLAGS += -g -lpthread -lrt -lm
 INC += -I$(ROOTDIR)/common
 
 ifeq ($(usemusl), yes)