Files
trousers/fix-lto.patch
Matthias Gerstner faf8c811fd - add fix-lto.patch: This fixes the rpmlint error:
trousers-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libtddl.a
  objcopy/strip seem not to support the LTO linking and discard the actual
  text section from libtddl.a. By passing -ffat-lto-objects the object format
  is kept compatible with unaware tools and fixes the error.

OBS-URL: https://build.opensuse.org/package/show/security/trousers?expand=0&rev=59
2019-09-09 14:15:02 +00:00

11 lines
448 B
Diff

Index: trousers-0.3.14/src/tddl/Makefile.am
===================================================================
--- trousers-0.3.14.orig/src/tddl/Makefile.am
+++ trousers-0.3.14/src/tddl/Makefile.am
@@ -1,4 +1,4 @@
lib_LIBRARIES=libtddl.a
libtddl_a_SOURCES=tddl.c
-libtddl_a_CFLAGS=-DAPPID=\"TCSD\ TDDL\" -I${top_srcdir}/src/include -fPIE -DPIE
+libtddl_a_CFLAGS=-ffat-lto-objects -DAPPID=\"TCSD\ TDDL\" -I${top_srcdir}/src/include -fPIE -DPIE