]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-macros-th.patch
- compress debuginfo sections with zlib (reduce /usr/lib/debug size).
[packages/rpm.git] / rpm-macros-th.patch
1 diff -urN rpm-4.5/macros.in rpm-4.5.new//macros.in
2 --- rpm-4.5/macros.in   2010-05-28 20:56:02.854032755 +0200
3 +++ rpm-4.5.new//macros.in      2010-05-28 20:59:04.177348180 +0200
4 @@ -277,6 +277,9 @@
5  #
6  #%distribution
7  
8 +# PLD Linux Release
9 +%pld_release    th
10 +
11  #      Configurable distribution URL, same as DistURL: tag in a specfile.
12  #      The URL will be used to supply reliable information to tools like
13  #      rpmfind.
14 @@ -1482,6 +1485,9 @@
15  # -feliminate-dwarf2-dups disabled until PR ld/3290 is fixed.
16  
17  %debugcflags   -O0 -g -Wall
18 +%debugcppflags %{nil}
19 +%optldflags    -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc
20 +%optcppflags   -D_FORTIFY_SOURCE=2
21  
22  # Warning: those macros are overwritten by macros.build,
23  #          left here for compatibility
This page took 0.038507 seconds and 3 git commands to generate.