diff --git a/test/configure b/test/configure
index 9272dfe..8d38eb6 100755
--- a/test/configure
+++ b/test/configure
@@ -42,8 +42,8 @@ echo "OBJECTS_DEBUG = $OBJECTS_DEBUG" >> ${CONFIG_MK}
# Common config for all targets
CPPFLAGS="$CPPFLAGS -I.."
-CFLAGS="$CFLAGS -W -Wall -Werror -std=c11 -pedantic -pipe"
-LDFLAGS="$LDFLAGS -rdynamic"
+CFLAGS="$CFLAGS -W -Wall -Werror -std=c11 -pedantic -pipe -pthread"
+LDFLAGS="$LDFLAGS -rdynamic -pthread"
config_asan
config_gnu
config_i386