Skip to content

Commit

Permalink
profiles: update pie use-flag masks for sys-devel/gcc
Browse files Browse the repository at this point in the history
 - mask pie for sys-devel/gcc unconditionally in base/

 - selectively unmask pie use-flag for hardened/linux and
   hardened/linux/musl profiles
  • Loading branch information
tamiko committed May 12, 2017
1 parent 5c3185e commit 666d65c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 0 additions & 4 deletions profiles/arch/amd64/package.use.mask
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ dev-lang/ocaml -spacetime
# nvidia drivers are unmasked here
media-video/ffmpeg -nvenc

# Magnus Granberg <[email protected]> (18 Jan 2017)
# masked in base, unmask for amd64
>=sys-devel/gcc-6.3.0 -pie

# Luke Dashjr <[email protected]> (04 Jan 2017)
# Assembly optimisations are supported on amd64 for all versions
dev-libs/libsecp256k1 -asm
Expand Down
4 changes: 0 additions & 4 deletions profiles/arch/base/package.use.mask
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ media-video/ffmpeg nvenc
# media-libs/raspberrypi-userland not keyworded
media-video/motion mmal

# Magnus Granberg <[email protected]> (18 Jan 2017)
# Mask it globally, unmask it on supported arch
>=sys-devel/gcc-6.2.0 pie

# Luke Dashjr <[email protected]> (04 Jan 2017)
# Mask assembly optimisations that are platform-specific
dev-libs/libsecp256k1 asm
Expand Down
4 changes: 4 additions & 0 deletions profiles/base/package.use.mask
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
# This file is only for generic masks. For arch-specific masks (i.e.
# mask everywhere, unmask on arch/*) use arch/base.

# Matthias Maier <[email protected]> (11 May 2017)
# Globally mask pie use flag. Selectively unmask on specific profiles.
sys-devel/gcc pie

# Mike Gilbert <[email protected]> (28 Apr 2017)
# Needs sandbox-2.11 (masked)
>=www-client/chromium-59 tcmalloc
Expand Down
4 changes: 0 additions & 4 deletions profiles/hardened/linux/musl/amd64/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
# Copyright 1999-2017 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License v2

# Matthias Maier <[email protected]> (07 May 2017)
# masked in arch/base, unmask for hardened/musl/amd64
>=sys-devel/gcc-6.3.0 -pie
4 changes: 4 additions & 0 deletions profiles/hardened/linux/musl/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Copyright 1999-2015 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License v2

# Matthias Maier <[email protected]> (11 May 2017)
# masked in base, unmask for hardened/musl/
sys-devel/gcc -pie

# See bug #504200
sys-devel/gcc sanitize

Expand Down
4 changes: 4 additions & 0 deletions profiles/hardened/linux/package.use.mask
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

# Matthias Maier <[email protected]> (11 May 2017)
# masked in base, unmask for hardened profiles
sys-devel/gcc -pie

# Ilya Tumaykin <[email protected]> (19 Jan 2017)
# Requires x11-drivers/nvidia-drivers. Needs testing first.
media-video/mpv cuda
Expand Down

0 comments on commit 666d65c

Please sign in to comment.