From: Arkadiusz Miƛkiewicz Date: Tue, 29 Jul 2008 21:06:16 +0000 (+0000) Subject: - missing cppflags X-Git-Tag: auto/th/rpm-build-macros-1_471-1~5 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=f4b7c6a2b4b1a340ea212686575b51dcf723bd44;p=packages%2Frpm.git - missing cppflags Changed files: rpm-pld.macros -> 1.2 --- diff --git a/rpm-pld.macros b/rpm-pld.macros index 8e632e8..44003de 100644 --- a/rpm-pld.macros +++ b/rpm-pld.macros @@ -37,13 +37,15 @@ # -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