summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-07-25 00:31:12 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-07-25 00:31:12 +0200
commited887cafe7e652cfcf4525fbbd86b1d7930d180e (patch)
treebdc114b955986500a8b32e18978a7e67af3f52ce
parentsys-libs/glibc: Add --enable-fortify-source configure parameter (new) (diff)
downloadgentoo-ed887cafe7e652cfcf4525fbbd86b1d7930d180e.tar.gz
gentoo-ed887cafe7e652cfcf4525fbbd86b1d7930d180e.tar.bz2
gentoo-ed887cafe7e652cfcf4525fbbd86b1d7930d180e.zip
sys-libs/glibc: Boldly assume our aarch64 toolchain can build SVE instructions
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--sys-libs/glibc/glibc-9999.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 2d5a5b523933..79c3065fcb4e 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -1028,6 +1028,11 @@ glibc_do_configure() {
libc_cv_have_x86_lahf_sahf=no
libc_cv_have_x86_movbe=no
+ # On aarch64 there is no way to override -mcpu=native, and if
+ # the current cpu does not support SVE configure fails.
+ # Let's boldly assume our toolchain can always build SVE instructions.
+ libc_cv_aarch64_sve_asm=yes
+
${EXTRA_ECONF}
)