Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH 1/1] profiles: unset default USE=justify in hardened profiles.
Date: Fri, 15 Dec 2017 17:04:32
Message-Id: 20171215170416.27717-1-mjo@gentoo.org
1 The "justify" USE flag is local to only app-editors/nano, but it was
2 enabled by default in two hardened profiles,
3
4 * hardened/linux/amd64/make.defaults
5 * features/hardened/amd64/make.defaults
6
7 The reasoning for that is lost to time, but probably dates back to
8 when nano was part of the @system set, and we wanted the stages to be
9 built with USE=justify set for nano (before per-package USE defaults).
10
11 Closes: https://bugs.gentoo.org/635066
12 ---
13 profiles/features/hardened/amd64/make.defaults | 2 +-
14 profiles/hardened/linux/amd64/make.defaults | 2 +-
15 2 files changed, 2 insertions(+), 2 deletions(-)
16
17 diff --git a/profiles/features/hardened/amd64/make.defaults b/profiles/features/hardened/amd64/make.defaults
18 index 10d89c63ebf..1d58d93d315 100644
19 --- a/profiles/features/hardened/amd64/make.defaults
20 +++ b/profiles/features/hardened/amd64/make.defaults
21 @@ -1,5 +1,5 @@
22 # Copyright 1999-2012 Gentoo Foundation.
23 # Distributed under the terms of the GNU General Public License v2
24
25 -USE="justify -pic"
26 +USE="-pic"
27
28 diff --git a/profiles/hardened/linux/amd64/make.defaults b/profiles/hardened/linux/amd64/make.defaults
29 index acb6734fd7e..73067930812 100644
30 --- a/profiles/hardened/linux/amd64/make.defaults
31 +++ b/profiles/hardened/linux/amd64/make.defaults
32 @@ -1,7 +1,7 @@
33 # Copyright 1999-2012 Gentoo Foundation.
34 # Distributed under the terms of the GNU General Public License v2
35
36 -USE="justify -pic"
37 +USE="-pic"
38
39 CFLAGS="-O2 -pipe"
40 CXXFLAGS="${CFLAGS}"
41 --
42 2.13.6