Open carstene1ns opened 4 years ago
CMake has INTERPROCEDURAL_OPTIMIZATION
but this sets -flto -fno-fat-lto-objects
so the opposite of what Suse wants :/
CMake workaround. The behaviour of fat-lto-objects can't be directly configured from the CMake command line, is hardcoded: https://gitlab.kitware.com/cmake/cmake/issues/16808
LTO is enabled by default on SUSE Tumbleweed. Seems we have fat lto objects... :goat:
Possible solution: https://github.com/zeromq/libzmq/commit/3e4c90bbf43db5d042caf90c44853e359cb603cb