From c4fd9151cc4b90ab26e0cca63fe77fcc75fdc1e4 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 7 Feb 2016 14:47:56 +0000 Subject: Default to compiling c++1y, fully stripped and gc'ed --- project2/ice/iceCompile.cpp | 4 ++-- 1 file 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") -- cgit v1.2.3