Include flag for enabling link-time optimizations

When LTO is disabled by default, we need a flag to re-enable it.
This commit is contained in:
Bård Skaflestad
2013-06-14 00:52:00 +02:00
committed by Roland Kaufmann
parent bfeac75fa9
commit 28406d287d

4
configure vendored
View File

@@ -299,6 +299,10 @@ for OPT in "$@"; do
pch_use=" -DPRECOMPILE_HEADERS:BOOL=ON"
shared=""
;;
lto)
use_lto=" -DWHOLE_PROG_OPTIM=ON"
shared=""
;;
# this flag is just for compatibility with the deprecation
# flag in DUNE, so we can build without warnings
fieldvector-size-is-method)