diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-12-20 15:24:13 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-12-27 17:16:14 +0000 |
commit | 2ebbfe6460aef14b1db84a46c892c1a17742b6da (patch) | |
tree | d7bab56cb6af3171678e203f771e686fc344867e | |
parent | Don't delete the serializer factory (diff) | |
download | icespider-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.cpp | 2 |
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(), }, " "); |