]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- missing cppflags
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 29 Jul 2008 21:06:16 +0000 (21:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-pld.macros -> 1.2

rpm-pld.macros

index 8e632e8c98572f83196f6964b6d5797315bab3f2..44003decd68ad79ac2f7f1849695137763f0cfc0 100644 (file)
 # -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
 %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.120974 seconds and 4 git commands to generate.