Skip to content

Commit

Permalink
FL-5486: fix skylake issue
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrobbins committed Aug 26, 2018
1 parent 87fa0b4 commit ae81e62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core-kit/1.2-prime/sys-devel/gcc/gcc-7.3.1-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ src_prepare() {
# Patch from release to svn branch tip for backports
eapply "${GCC_SVN_PATCH}"

# Fix to add entry for 'skylake' in config.gcc's x86_64_archs variable if missing.
sed -e '/x86_64_archs="/,/"/ { /\<skylake / b ; s/\<skylake-/skylake &/ }' -i "${S}/gcc/config.gcc"

( use vanilla && use hardened ) \
&& die "vanilla and hardened USE flags are incompatible. Disable one of them"

Expand Down

0 comments on commit ae81e62

Please sign in to comment.