aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2009-07-16 13:39:31 +0200
committerEric B Munson <ebmunson@us.ibm.com>2009-07-21 16:28:41 +0100
commit936da904d93310a22e2da46703c9a6817b98822a (patch)
tree7f5c618973578d09eeb0ba7342a5512b3a25a1f8 /tests
parent06094fa493e29936d9aae5b6247c4a7883c9fa60 (diff)
downloadlibhugetlbfs-936da904d93310a22e2da46703c9a6817b98822a.tar.gz
Force --no-as-needed linker option
Force --no-as-needed linker option Things won't link with --as-needed linker option. Having --as-needed be set in a build environment can give you some headache to find out why it links the one, but not the other way. Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
Diffstat (limited to 'tests')
-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