summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--icespider/unittests/testCompile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/icespider/unittests/testCompile.cpp b/icespider/unittests/testCompile.cpp
index 06d9450..00862fa 100644
--- a/icespider/unittests/testCompile.cpp
+++ b/icespider/unittests/testCompile.cpp
@@ -111,7 +111,7 @@ BOOST_AUTO_TEST_CASE( testLink )
auto outputso = binDir / "testRoutes.so";
auto linkCommand = boost::algorithm::join<std::vector<std::string>>({
- "gcc", "-shared", "-Wl,--warn-once,--gc-sections",
+ "gcc", "-shared", "-Wl,--warn-once,--gc-sections,-z,lazy",
"-o", outputso.string(),
outputo.string(),
}, " ");