diff options
author | Sam James <sam@gentoo.org> | 2024-03-23 14:52:25 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-23 14:52:25 +0000 |
commit | b505998d735e8c1d0d4bb757c1967bf80cc25d4a (patch) | |
tree | 15c38fd32f9d9c6eef7367ce5991bbdc9ea1501a /eclass | |
parent | toolchain.eclass: add workaround for hybrid CPUs (diff) | |
download | gentoo-b505998d735e8c1d0d4bb757c1967bf80cc25d4a.tar.gz gentoo-b505998d735e8c1d0d4bb757c1967bf80cc25d4a.tar.bz2 gentoo-b505998d735e8c1d0d4bb757c1967bf80cc25d4a.zip |
toolchain.eclass: split condition for readability
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index ec35591ec8fb..79032416e881 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1570,7 +1570,7 @@ gcc_do_filter_flags() { declare -A l1_cache_sizes=() # Workaround for inconsistent cache sizes on hybrid P/E cores # See PR111768 (and bug #904426, bug #908523, and bug #915389) - if [[ ${CBUILD} == x86_64* || ${CBUILD} == i?86* && ${CFLAGS} == *-march=native* ]] && tc-is-gcc ; then + if [[ ${CBUILD} == x86_64* || ${CBUILD} == i?86* ]] && [[ ${CFLAGS} == *-march=native* ]] && tc-is-gcc ; then local x local l1_cache_size # Iterate over all cores and find their L1 cache size |