Closed JEnoch closed 2 years ago
As reported in eclipse-zenoh/zenoh-plugin-dds#101 the -flto -fno-fat-lto-objects used by CycloneDDS 0.10.2 build makes it static library to fail to be linked by Rust. This PR deactivates those flags configuring CycloneDDS CMake with ENABLE_LTO=no.
-flto -fno-fat-lto-objects
ENABLE_LTO=no
As reported in eclipse-zenoh/zenoh-plugin-dds#101 the
-flto -fno-fat-lto-objects
used by CycloneDDS 0.10.2 build makes it static library to fail to be linked by Rust. This PR deactivates those flags configuring CycloneDDS CMake withENABLE_LTO=no
.