summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-11-24 13:51:25 -0500
committerMike Gilbert <floppym@gentoo.org>2018-11-24 13:51:36 -0500
commita1825582f83d51485e1ed6e668fc1f55a5814a56 (patch)
tree8e979224b1e69a3d8fbedfc348ad20dcd41d72da /www-client
parentnet-misc/icaclient: Fixed fetch message for new workspace app. (diff)
downloadgentoo-a1825582f83d51485e1ed6e668fc1f55a5814a56.tar.gz
gentoo-a1825582f83d51485e1ed6e668fc1f55a5814a56.tar.bz2
gentoo-a1825582f83d51485e1ed6e668fc1f55a5814a56.zip
www-client/chromium: enable -msse2 -mfpmath=sse -mmmx on x86
This is normally done by the build system, but we started patching that out to avoid build issues on ARM. Closes: https://bugs.gentoo.org/671412 Package-Manager: Portage-2.3.51_p14, Repoman-2.3.12_p5 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/chromium/chromium-70.0.3538.110.ebuild4
-rw-r--r--www-client/chromium/chromium-71.0.3578.53.ebuild4
-rw-r--r--www-client/chromium/chromium-72.0.3595.2.ebuild4
3 files changed, 12 insertions, 0 deletions
diff --git a/www-client/chromium/chromium-70.0.3538.110.ebuild b/www-client/chromium/chromium-70.0.3538.110.ebuild
index 9ed1afd580d1..0b329169badf 100644
--- a/www-client/chromium/chromium-70.0.3538.110.ebuild
+++ b/www-client/chromium/chromium-70.0.3538.110.ebuild
@@ -512,6 +512,10 @@ src_configure() {
elif [[ $myarch = x86 ]] ; then
myconf_gn+=" target_cpu=\"x86\""
ffmpeg_target_arch=ia32
+
+ # This is normally defined by compiler_cpu_abi in
+ # build/config/compiler/BUILD.gn, but we patch that part out.
+ append-flags -msse2 -mfpmath=sse -mmmx
elif [[ $myarch = arm64 ]] ; then
myconf_gn+=" target_cpu=\"arm64\""
ffmpeg_target_arch=arm64
diff --git a/www-client/chromium/chromium-71.0.3578.53.ebuild b/www-client/chromium/chromium-71.0.3578.53.ebuild
index 3f45008f2cdc..fd9d0c56bc09 100644
--- a/www-client/chromium/chromium-71.0.3578.53.ebuild
+++ b/www-client/chromium/chromium-71.0.3578.53.ebuild
@@ -511,6 +511,10 @@ src_configure() {
elif [[ $myarch = x86 ]] ; then
myconf_gn+=" target_cpu=\"x86\""
ffmpeg_target_arch=ia32
+
+ # This is normally defined by compiler_cpu_abi in
+ # build/config/compiler/BUILD.gn, but we patch that part out.
+ append-flags -msse2 -mfpmath=sse -mmmx
elif [[ $myarch = arm64 ]] ; then
myconf_gn+=" target_cpu=\"arm64\""
ffmpeg_target_arch=arm64
diff --git a/www-client/chromium/chromium-72.0.3595.2.ebuild b/www-client/chromium/chromium-72.0.3595.2.ebuild
index 50e9aa7b82de..7005f32011cb 100644
--- a/www-client/chromium/chromium-72.0.3595.2.ebuild
+++ b/www-client/chromium/chromium-72.0.3595.2.ebuild
@@ -511,6 +511,10 @@ src_configure() {
elif [[ $myarch = x86 ]] ; then
myconf_gn+=" target_cpu=\"x86\""
ffmpeg_target_arch=ia32
+
+ # This is normally defined by compiler_cpu_abi in
+ # build/config/compiler/BUILD.gn, but we patch that part out.
+ append-flags -msse2 -mfpmath=sse -mmmx
elif [[ $myarch = arm64 ]] ; then
myconf_gn+=" target_cpu=\"arm64\""
ffmpeg_target_arch=arm64