X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=rpm-macros-ti.patch;h=dbe7d01ce4eb4538cc0f3444c4b650437197c729;hb=1d8afbed1150da63a29365d8e5b1d0c64cb4f931;hp=cb94949fe4a38a7a27cfe6219d041cec4683423f;hpb=630c68c81e8bfa147007554ef35258d125bc8657;p=packages%2Frpm.git diff --git a/rpm-macros-ti.patch b/rpm-macros-ti.patch index cb94949..dbe7d01 100644 --- a/rpm-macros-ti.patch +++ b/rpm-macros-ti.patch @@ -29,12 +29,13 @@ diff -urN rpm-4.5/macros.in rpm-4.5.new//macros.in #------------------------------------------------------------------------ # executable(...) configuration. -@@ -1482,6 +1485,8 @@ +@@ -1482,6 +1485,9 @@ # -feliminate-dwarf2-dups disabled until PR ld/3290 is fixed. %debugcflags -O0 -g -Wall -+%optldflags -Wl,--as-needed -+%optcppflags %{nil} ++%debugcppflags %{nil} ++%optldflags -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ++%optcppflags -D_FORTIFY_SOURCE=2 # Warning: those macros are overwritten by macros.build, # left here for compatibility