X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=rpm-macros-th.patch;h=23b9d4cd0101e4593bbd6eeb5e7e6af0db72f5a5;hb=1e66cebd0fe992aab9b161b82502805b5a952156;hp=7b9012c95519841d22a2e67f5c32334f870bc6f5;hpb=1b5fbdd6b61436bd0cdff1cc939ef80c2bb59a9e;p=packages%2Frpm.git diff --git a/rpm-macros-th.patch b/rpm-macros-th.patch index 7b9012c..23b9d4c 100644 --- a/rpm-macros-th.patch +++ b/rpm-macros-th.patch @@ -1,6 +1,7 @@ ---- rpm-5.0.3/macros.in~ 2008-03-27 19:37:38.000000000 +0200 -+++ rpm-5.0.3/macros.in 2008-03-27 19:38:53.797722786 +0200 -@@ -282,6 +282,9 @@ +diff -ur rpm-4.4.9.org/macros.in rpm-4.4.9/macros.in +--- rpm-4.4.9.org/macros.in 2008-07-24 08:52:35.205363000 +0200 ++++ rpm-4.4.9/macros.in 2008-07-24 09:01:00.351355186 +0200 +@@ -275,6 +275,9 @@ # #%distribution @@ -10,3 +11,15 @@ # Configurable distribution URL, same as DistURL: tag in a specfile. # The URL will be used to supply reliable information to tools like # rpmfind. +--- rpm/macros.in~ 2008-07-29 15:33:40.289757059 +0200 ++++ rpm/macros.in 2008-07-29 15:37:14.559735562 +0200 +@@ -1635,7 +1635,8 @@ + # -feliminate-dwarf2-dups disabled until PR ld/3290 is fixed. + + %debugcflags -O0 -g -Wall +-%optldflags -Wl,--as-needed ++%optldflags -Wl,--as-needed -Wl,-z,relro -Wl,-z,-combreloc ++%optcppflags -D_FORTIFY_SOURCE=2 + + # Warning: those macros are overwritten by macros.build, + # left here for compatibility