summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-02-07 14:47:56 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-02-07 14:47:56 +0000
commitc4fd9151cc4b90ab26e0cca63fe77fcc75fdc1e4 (patch)
treece191815524d4821f106a3010383063fa92ff26f
parentBuild most things by default (diff)
downloadproject2-c4fd9151cc4b90ab26e0cca63fe77fcc75fdc1e4.tar.bz2
project2-c4fd9151cc4b90ab26e0cca63fe77fcc75fdc1e4.tar.xz
project2-c4fd9151cc4b90ab26e0cca63fe77fcc75fdc1e4.zip
Default to compiling c++1y, fully stripped and gc'ed
-rw-r--r--project2/ice/iceCompile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/project2/ice/iceCompile.cpp b/project2/ice/iceCompile.cpp
index 3701c8f..b0e5824 100644
--- a/project2/ice/iceCompile.cpp
+++ b/project2/ice/iceCompile.cpp
@@ -20,11 +20,11 @@ fs::path IceCompile::slicerheaderdir;
DECLARE_OPTIONS(IceCompile, "ICE Compile Options")
("ice.compile.cxx", Options::value(&cxx, "g++"),
"The C++ compiler to use")
-("ice.compile.cxxopts", Options::value(&cxxopts, "-Wall -Werror -std=c++11 -O3 -march=native -fPIC"),
+("ice.compile.cxxopts", Options::value(&cxxopts, "-Wall -Werror -std=c++1y -O3 -march=native -fPIC"),
"The extra arguments to pass to the C++ compiler")
("ice.compile.linker", Options::value(&linker, "g++"),
"The linker to use")
-("ice.compile.linkeropts", Options::value(&linkeropts, ""),
+("ice.compile.linkeropts", Options::value(&linkeropts, "-Wl,--strip-all,--gc-sections"),
"The extra arguments to pass to linker")
("ice.compile.slice2cpp", Options::value(&slice2cpp, "slice2cpp"),
"The ICE Slice to CPP processor to use")