summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-12-20 15:24:13 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-12-27 17:16:14 +0000
commit2ebbfe6460aef14b1db84a46c892c1a17742b6da (patch)
treed7bab56cb6af3171678e203f771e686fc344867e
parentDon't delete the serializer factory (diff)
downloadicespider-2ebbfe6460aef14b1db84a46c892c1a17742b6da.tar.bz2
icespider-2ebbfe6460aef14b1db84a46c892c1a17742b6da.tar.xz
icespider-2ebbfe6460aef14b1db84a46c892c1a17742b6da.zip
Be explicit about -z,lazy as default linking is -z,now when hardened profile is picked up
-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(),
}, " ");