SOURCES: rpm-pld.macros - missing cppflags
arekm
arekm at pld-linux.org
Tue Jul 29 23:06:22 CEST 2008
Author: arekm Date: Tue Jul 29 21:06:22 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- missing cppflags
---- Files affected:
SOURCES:
rpm-pld.macros (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/rpm-pld.macros
diff -u SOURCES/rpm-pld.macros:1.1 SOURCES/rpm-pld.macros:1.2
--- SOURCES/rpm-pld.macros:1.1 Tue Oct 2 21:04:20 2007
+++ SOURCES/rpm-pld.macros Tue Jul 29 23:06:16 2008
@@ -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
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-pld.macros?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list