cmake: get rid of -fno-fat-lto-objects

2022-03-16 Thread Jerome BENOIT
Hello, One of my package builds with cmake. All is fine except that the built static library gets the no-code-sections error complaint from lintian. It appears [1,2] that /usr/share/cmake-3.22/Modules/Compiler/GNU.cmake enforces -fno-fat-lto-objects unconditionally for GCC + IPO What is the e

Re: cmake: get rid of -fno-fat-lto-objects

2022-03-16 Thread Timo Röhling
Hi Jerome, * Jerome BENOIT [2022-03-16 22:37]: Hello, One of my package builds with cmake. All is fine except that the built static library gets the no-code-sections error complaint from lintian. It appears [1,2] that /usr/share/cmake-3.22/Modules/Compiler/GNU.cmake enforces -fno-fat-lto-obj

Re: cmake: get rid of -fno-fat-lto-objects

2022-03-16 Thread Jerome BENOIT
Hi Timo, thanks a lot for the hint. Cheers, Jerome On 16/03/2022 23:21, Timo Röhling wrote: Hi Jerome, * Jerome BENOIT [2022-03-16 22:37]: Hello, One of my package builds with cmake. All is fine except that the built static library gets the no-code-sections error complaint from lintian. It