diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2022-05-25 15:19:44 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2022-05-25 15:20:52 +0200 |
commit | 6c7aa1d73184ee8c8b5d6708632e9e675b3b475f (patch) | |
tree | 9b226719c2ba17a9dc00cfaa8442dc7f7b024afd /www-client/chromium | |
parent | app-portage/overlint: Python 3.10 + EAPI 8 (diff) | |
download | gentoo-6c7aa1d73184ee8c8b5d6708632e9e675b3b475f.tar.gz gentoo-6c7aa1d73184ee8c8b5d6708632e9e675b3b475f.tar.bz2 gentoo-6c7aa1d73184ee8c8b5d6708632e9e675b3b475f.zip |
www-client/chromium: fix linker error on arm64
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client/chromium')
-rw-r--r-- | www-client/chromium/chromium-102.0.5005.61.ebuild | 5 | ||||
-rw-r--r-- | www-client/chromium/chromium-103.0.5060.13.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/www-client/chromium/chromium-102.0.5005.61.ebuild b/www-client/chromium/chromium-102.0.5005.61.ebuild index 53e434445ed8..2ea1bde2e34f 100644 --- a/www-client/chromium/chromium-102.0.5005.61.ebuild +++ b/www-client/chromium/chromium-102.0.5005.61.ebuild @@ -830,6 +830,11 @@ src_configure() { myconf_gn+=" ozone_platform=\"x11\"" fi + # Results in undefined references in chrome linking, may require CFI to work + if use arm64; then + myconf_gn+=" arm_control_flow_integrity=\"none\"" + fi + # Enable official builds myconf_gn+=" is_official_build=$(usex official true false)" myconf_gn+=" use_thin_lto=false" diff --git a/www-client/chromium/chromium-103.0.5060.13.ebuild b/www-client/chromium/chromium-103.0.5060.13.ebuild index 2887036ff17e..a71678494b49 100644 --- a/www-client/chromium/chromium-103.0.5060.13.ebuild +++ b/www-client/chromium/chromium-103.0.5060.13.ebuild @@ -906,6 +906,11 @@ src_configure() { myconf_gn+=" ozone_platform=$(usex wayland \"wayland\" \"x11\")" fi + # Results in undefined references in chrome linking, may require CFI to work + if use arm64; then + myconf_gn+=" arm_control_flow_integrity=\"none\"" + fi + # Enable official builds myconf_gn+=" is_official_build=$(usex official true false)" myconf_gn+=" use_thin_lto=$(usex lto true false)" |