Gentoo Archives: gentoo-dev

From: Jeroen Roovers <jer@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Enable format-security in the dev profiles
Date: Mon, 21 Jul 2014 16:15:11
Message-Id: 20140721181501.533c59f5@marga.jer-c2.orkz.net
In Reply to: Re: [gentoo-dev] Enable format-security in the dev profiles by Samuli Suominen
1 On Mon, 21 Jul 2014 18:55:25 +0300
2 Samuli Suominen <ssuominen@g.o> wrote:
3
4 > But only -Wformat=2 has -Wformat-security. Do we enable -Wformat with
5 > 1 or 2?
6
7 The gcc info pages say:
8
9 `-Wformat'
10
11 [...]
12
13 In Gentoo, this option is enabled by default for [...]
14
15 `-Wformat-security'
16
17 [...]
18
19 In Gentoo, this option is enabled by default for [...]
20
21
22 The relevant patches are found in cvs/gentoo/src/patchsets/gcc/*/gentoo/
23 and are generally named
24
25 10_all_default-fortify-source.patch
26 11_all_default-warn-format-security.patch
27
28
29 jer