drop LTO for now, it causes too many issues, needs to become an opt-in

This commit is contained in:
Arjan van de Ven
2016-07-28 13:46:59 +00:00
parent 480009bfed
commit 504c4e60cf
+1 -1
View File
@@ -105,7 +105,7 @@ def write_variables(file):
file.write_strip("export CXXFLAGS=$CFLAGS\n")
file.write_strip("unset LDFLAGS\n")
if config.optimize_speed:
flags.extend(["-O3", "-flto", "-fno-semantic-interposition", "-falign-functions=32"])
flags.extend(["-O3", "-fno-semantic-interposition", "-falign-functions=32"])
file.write_strip("export AR=gcc-ar\n")
file.write_strip("export RANLIB=gcc-ranlib\n")
file.write_strip("export NM=gcc-nm\n")