diff options
author | Alexey Neyman <stilor@att.net> | 2020-02-26 08:49:59 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2020-02-26 11:05:19 -0800 |
commit | d978290f39196e7c2c72a154f32681386b4e27b8 (patch) | |
tree | 3e128f23f3098cfaf6d15aa8d8950074f96e5f13 /scripts/build/cc | |
parent | f290ad24173549c46ff070df86335aebc50b1bde (diff) | |
download | crosstool-ng-d978290f39196e7c2c72a154f32681386b4e27b8.tar.gz crosstool-ng-d978290f39196e7c2c72a154f32681386b4e27b8.tar.bz2 crosstool-ng-d978290f39196e7c2c72a154f32681386b4e27b8.zip |
Set --with-cpu-{32,64} for multilib builds
GLIBC 2.31 needs --with-cpu=ultrasparc for both 32/64-bits now, and
--with-cpu only sets the CPU model for the "primary" bitness.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/cc')
-rw-r--r-- | scripts/build/cc/gcc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 60f259df..3d4db35b 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -351,7 +351,7 @@ do_gcc_core_backend() { ;; esac - for tmp in ARCH ABI CPU TUNE FPU FLOAT ENDIAN; do + for tmp in ARCH ABI CPU CPU_32 CPU_64 TUNE FPU FLOAT ENDIAN; do eval tmp="\${CT_ARCH_WITH_${tmp}}" if [ -n "${tmp}" ]; then extra_config+=("${tmp}") @@ -905,7 +905,7 @@ do_gcc_backend() { # Enable selected languages extra_config+=("--enable-languages=${lang_list}") - for tmp in ARCH ABI CPU TUNE FPU FLOAT; do + for tmp in ARCH ARCH_32 ARCH_64 ABI CPU CPU_32 CPU_64 TUNE TUNE_32 TUNE_64 FPU FLOAT; do eval tmp="\${CT_ARCH_WITH_${tmp}}" if [ -n "${tmp}" ]; then extra_config+=("${tmp}") |