Commit 825e8f5
committed
rpm: fix lto-no-text-in-archive
opensuse 16 builds fail with the following issue:
[ 100s] naemon-devel.aarch64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/naemon/libnaemon.a
[ 100s] This archive does not contain a non-empty .text section. The archive was not
[ 100s] created with -ffat-lto-objects option.
[ 100s] naemon-devel.aarch64: E: lto-bytecode (Badness: 10000) /usr/lib64/naemon/libnaemon.a
[ 100s] This executable contains a LTO section. LTO bytecode is not portable and
[ 100s] should not be distributed in static libraries or e.g. Python modules.
the recommended fix is to extend the _lto_cflags macro.1 parent ed8103e commit 825e8f5
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
0 commit comments