diff options
author | Dan Goodliffe <daniel.goodliffe@pressassociation.com> | 2016-02-05 16:40:31 +0000 |
---|---|---|
committer | Dan Goodliffe <daniel.goodliffe@pressassociation.com> | 2016-02-05 16:40:31 +0000 |
commit | 016440cd17ba5f6b93f1eaa558ce9dc2bab034c9 (patch) | |
tree | 98c1e27d64069fab5a340459504df51d748492f1 | |
parent | Internalize all slicer components (diff) | |
download | slicer-016440cd17ba5f6b93f1eaa558ce9dc2bab034c9.tar.bz2 slicer-016440cd17ba5f6b93f1eaa558ce9dc2bab034c9.tar.xz slicer-016440cd17ba5f6b93f1eaa558ce9dc2bab034c9.zip |
Test with c++1y, fully stripped and gc'ed
-rw-r--r-- | slicer/test/preprocessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slicer/test/preprocessor.cpp b/slicer/test/preprocessor.cpp index 435723f..99d1ab4 100644 --- a/slicer/test/preprocessor.cpp +++ b/slicer/test/preprocessor.cpp @@ -61,7 +61,7 @@ BOOST_AUTO_TEST_CASE( slicer_test_ice ) const fs::path obj = fs::change_extension(tmp / base, ".o"); const std::string compile = stringbf( - "g++ -Os -fPIC -c -std=c++0x -fvisibility=hidden -I tmp -I /usr/include/adhocutil -I /usr/include/Ice -I /usr/include/IceUtil -I %s -I %s -I %s -I %s %s -o %s", + "g++ -Os -fPIC -c -std=c++1y -fvisibility=hidden -I tmp -I /usr/include/adhocutil -I /usr/include/Ice -I /usr/include/IceUtil -I %s -I %s -I %s -I %s %s -o %s", root / bjamout, root, included / bjamout, @@ -72,7 +72,7 @@ BOOST_AUTO_TEST_CASE( slicer_test_ice ) const fs::path so = fs::change_extension(tmp / ("libslicer" + slice.filename().string()), ".so"); const std::string link = stringbf( - "g++ -shared -lIce -lIceUtil %s/lib%s.so %s/lib%s.so %s -o %s", + "g++ -shared -Wl,--strip-all,--gc-sections -lIce -lIceUtil %s/lib%s.so %s/lib%s.so %s -o %s", root / bjamout, base, included / bjamout, included.leaf(), obj, so); |