aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index f7e9b26..c51fbe8 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -26,7 +26,7 @@ BADTOOLCHAIN = bad-toolchain.sh
CFLAGS = -O2 -Wall -g
CPPFLAGS = -I..
-LDLIBS = -ldl -lpthread -lhugetlbfs_privutils
+LDLIBS = -Wl,--no-as-needed -ldl -lpthread -lhugetlbfs_privutils
LDFLAGS32 = -L../obj32
LDFLAGS64 = -L../obj64
INSTALL = install