]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-macros-th.patch
- compress debuginfo sections with zlib (reduce /usr/lib/debug size).
[packages/rpm.git] / rpm-macros-th.patch
CommitLineData
a5a68e9c 1diff -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.
a5a68e9c 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}
cb048e05 19+%optldflags -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc
a5a68e9c 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.030842 seconds and 4 git commands to generate.