On Sat, Mar 21, 2015 at 08:46:10AM -0400, Mike Gilbert wrote

> I should warn you against including all of those -mno-xxx flags. This
> has been known to break the build process for packages like chromium,
> which always wants to build with SSE4 support and toggles it off at
> runtime. Passing -mno-sse4.1 causes a build failure as it tries to use
> macros that are not defined.

  Weird.  The Gentoo wiki documents /etc/portage/package.env at...
https://wiki.gentoo.org/wiki/Knowledge_Base:Overriding_environment_variables_per_package
for handling special cases like this.  Not every package tests at
runtime.  Leaving sse4.1 enabled could result in other packages crashing
with illegal instructions.  I don't use chromium.  But if I did, I'd use
package.env to handle it as a special case.  Chromium is plain weird
anyways.  A web browser should not require udev.

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to