cc-wrapper: add option to skip flags for native optimizations

This commit is contained in:
Nikolay Amiantov
2016-03-24 20:16:17 +03:00
parent 89693e71b9
commit 0c6db0ca48
10 changed files with 32 additions and 21 deletions
@@ -25,7 +25,6 @@ stdenv.mkDerivation rec {
''
sed -i GNUmakefile \
-e 's|-march=native|${marchflags} -fPIC|g' \
-e 's|-mtune=native||g' \
-e '/^CXXFLAGS =/s|-g ||'
'';