diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-20 02:37:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-20 02:37:51 +0100 |
commit | f090ac33320e52dd549b818be0c345a3bb870ae0 (patch) | |
tree | 2a93d78a55e094fd70aba050c185671713ca63e2 /sys-libs/glibc/glibc-9999.ebuild | |
parent | 343082998723d09c7b354eb21ff4793c6d4fda3e (diff) |
gentoo auto-resync : 20:08:2022 - 02:37:51
Diffstat (limited to 'sys-libs/glibc/glibc-9999.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-9999.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index b35b2febd192..92b54a5a254a 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -326,6 +326,12 @@ setup_target_flags() { fi # For compatibility with older binaries at slight performance cost. use stack-realign && export CFLAGS_x86+=" -mstackrealign" + + # Workaround for bug #823780. + if tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) <= 2)) && (($(gcc-micro-version) == 0)) ; then + export CFLAGS_x86="${CFLAGS_x86} -mno-avx512f" + einfo "Auto adding -mno-avx512f to CFLAGS_x86 for buggy GCC version (bug #823780) (ABI=${ABI})" + fi fi ;; mips) |