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:
committed by
Roland Kaufmann
parent
bfeac75fa9
commit
28406d287d
4
configure
vendored
4
configure
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user