]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-pld.macros
Updated to 5.3.1
[packages/rpm.git] / rpm-pld.macros
index 8e632e8c98572f83196f6964b6d5797315bab3f2..5ba1720455d0f0946b29164bbf96b3b32af675b9 100644 (file)
 # -feliminate-dwarf2-dups disabled until PR ld/3290 is fixed.
 
 %debugcflags   -O0 -g -Wall
-%optldflags    -Wl,--as-needed
+%debugcppflags %{nil}
+%debugldflags  %{nil}
+
+%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
 %rpmcflags     %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}
 %rpmcxxflags   %{rpmcflags}
 %rpmldflags    %{!?no_build_with_as_needed:-Wl,--as-needed}
+%rpmcppflags   -D_FORTIFY_SOURCE=2
 
 # arch macros
 %ix86  i386 i486 i586 i686 pentium3 pentium4 athlon
This page took 0.036255 seconds and 4 git commands to generate.