diff options
author | fanquake <fanquake@gmail.com> | 2021-11-16 10:01:38 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-06-14 12:08:27 +0100 |
commit | 094772656d71b3f5022ae292094e878da035de9e (patch) | |
tree | 25e0ef7721c5dc5a4970324a48f892141d8c3541 /depends/config.site.in | |
parent | 9e4fbebcc8e497016563e46de4c64fa094edab2d (diff) | |
download | bitcoin-094772656d71b3f5022ae292094e878da035de9e.tar.xz |
build: support LTO in depends
No Qt for now.
Diffstat (limited to 'depends/config.site.in')
-rw-r--r-- | depends/config.site.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/depends/config.site.in b/depends/config.site.in index 03dabeea0a..189330c42d 100644 --- a/depends/config.site.in +++ b/depends/config.site.in @@ -78,6 +78,10 @@ if test "@host_os@" = darwin; then BREW=no fi +if test -z "$enable_lto" && test -n "@lto@"; then + enable_lto=yes +fi + PKG_CONFIG="$(which pkg-config) --static" # These two need to remain exported because pkg-config does not see them |