public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/gcc/4.7.1/gentoo: 10_all_default-fortify-source.patch README.history
@ 2012-08-19  1:22 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2012-08-19  1:22 UTC (permalink / raw
  To: gentoo-commits

vapier      12/08/19 01:22:13

  Modified:             10_all_default-fortify-source.patch README.history
  Log:
  tweak how we default _FORTIFY_SOURCE so it works with newer glibc versions

Revision  Changes    Path
1.2                  src/patchsets/gcc/4.7.1/gentoo/10_all_default-fortify-source.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.1/gentoo/10_all_default-fortify-source.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.1/gentoo/10_all_default-fortify-source.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.1/gentoo/10_all_default-fortify-source.patch?r1=1.1&r2=1.2

Index: 10_all_default-fortify-source.patch
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.7.1/gentoo/10_all_default-fortify-source.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 10_all_default-fortify-source.patch	14 Jun 2012 23:48:21 -0000	1.1
+++ 10_all_default-fortify-source.patch	19 Aug 2012 01:22:12 -0000	1.2
@@ -20,8 +20,8 @@
    builtin_define_with_value ("__REGISTER_PREFIX__", REGISTER_PREFIX, 0);
    builtin_define_with_value ("__USER_LABEL_PREFIX__", user_label_prefix, 0);
  
-+  /* Fortify Source enabled by default */
-+  builtin_define_with_int_value ("_FORTIFY_SOURCE", 2);
++  /* Fortify Source enabled by default w/optimization.  */
++  cpp_define (pfile, "_FORTIFY_SOURCE=((defined __OPTIMIZE__ && __OPTIMIZE__ > 0) ? 2 : 0)");
 +
    /* Misc.  */
    if (flag_gnu89_inline)



1.4                  src/patchsets/gcc/4.7.1/gentoo/README.history

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.1/gentoo/README.history?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.1/gentoo/README.history?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.1/gentoo/README.history?r1=1.3&r2=1.4

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.7.1/gentoo/README.history,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- README.history	23 Jul 2012 16:12:24 -0000	1.3
+++ README.history	19 Aug 2012 01:22:12 -0000	1.4
@@ -1,3 +1,6 @@
+1.3		[pending]
+	U 10_all_default-fortify-source.patch
+
 1.2		23 Jul 2012
 	+ 16_all_libgo-Werror-pr53679.patch
 





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-19  1:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-19  1:22 [gentoo-commits] gentoo commit in src/patchsets/gcc/4.7.1/gentoo: 10_all_default-fortify-source.patch README.history Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox