Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] CFLAGs change but no filter/strip/replace in ebuild
Date: Sat, 09 Dec 2017 11:46:02
Message-Id: CAC=wYCEzw01qcui24hy=2uA_W-CT1AqCzXDOc52fwe1=wnBY0g@mail.gmail.com
In Reply to: Re: [gentoo-user] CFLAGs change but no filter/strip/replace in ebuild by Alan McKinnon
1 >
2 > I would strongly advise against that, just on principle.
3 >
4 > yasm is an assembler, and as such it's right at the bottom of the stack.
5 > It's not unreasonable for such a package to use different FLAGS etc as
6 > it's not a userland app. It's an app that builds things you use to build
7 > a userland.
8 >
9 > I would recommend you touch base with the package maintainer for answers.
10 >
11 > btw, why is this situation a problem? Is something wrong with the yasm
12 > portage builds you?
13 >
14
15 I'm trying to avoid a reinstall. With profile 17, i found many packages
16 required -fPIC to build (probably due to some mucking around i've done with
17 hardened, and/or gentoo devs earlier force on of PIE in gcc that they later
18 backed out.). yasm build is failing and saying try -fPIC.