]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Drop -flto from non-cross-language-lto C++ demo builds
authorMatt Corallo <git@bluematt.me>
Tue, 6 Jul 2021 22:07:42 +0000 (22:07 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 9 Jul 2021 02:24:39 +0000 (02:24 +0000)
commit6ff713290fcd464915403ebd67160773885e5cc3
treed70b4e54bf37667ded73f159781f703f811d648b
parent78bee4f7e0ea0a48dbf5bb1227ed96e6cb3a041a
Drop -flto from non-cross-language-lto C++ demo builds

It appears somehow the LLVM IR is slipping into the Rust library,
causing Ubunto link to fail with the following error:

/usr/bin/ld: error: LLVM gold plugin has failed to create LTO module: Invalid record
clang: error: linker command failed with exit code 1 (use -v to see invocation)
genbindings.sh