diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-06-17 09:15:03 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-06-17 09:15:43 +0100 |
commit | 0efc5ad7d63239a278a8d07c90a19787da57786e (patch) | |
tree | d2a641661ea261a462ad8122afbf6cc082a6fae6 /sys-libs | |
parent | www-servers/tomcat: bump to 8.5.68 (diff) | |
download | gentoo-0efc5ad7d63239a278a8d07c90a19787da57786e.tar.gz gentoo-0efc5ad7d63239a278a8d07c90a19787da57786e.tar.bz2 gentoo-0efc5ad7d63239a278a8d07c90a19787da57786e.zip |
sys-libs/glibc: override x86_lahf_sahf=no x86_movbe=no values
Reported-by: Matt Whitlock
Bug: https://bugs.gentoo.org/785091
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/glibc/glibc-2.33-r1.ebuild | 5 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-9999.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-2.33-r1.ebuild b/sys-libs/glibc/glibc-2.33-r1.ebuild index fc5b4b0474f9..5e971e697fef 100644 --- a/sys-libs/glibc/glibc-2.33-r1.ebuild +++ b/sys-libs/glibc/glibc-2.33-r1.ebuild @@ -940,6 +940,11 @@ glibc_do_configure() { # -march= option tricks build system to infer too # high ISA level: https://sourceware.org/PR27318 libc_cv_include_x86_isa_level=no + # Explicit override of https://sourceware.org/PR27991 + # exposes a bug in glibc's configure: + # https://sourceware.org/PR27991 + libc_cv_have_x86_lahf_sahf=no + libc_cv_have_x86_movbe=no ${EXTRA_ECONF} ) diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index 112a714c393e..e2bc0dad8669 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -941,6 +941,11 @@ glibc_do_configure() { # -march= option tricks build system to infer too # high ISA level: https://sourceware.org/PR27318 libc_cv_include_x86_isa_level=no + # Explicit override of https://sourceware.org/PR27991 + # exposes a bug in glibc's configure: + # https://sourceware.org/PR27991 + libc_cv_have_x86_lahf_sahf=no + libc_cv_have_x86_movbe=no ${EXTRA_ECONF} ) |