diff options
author | Sebastian Pop <spop@amazon.com> | 2020-11-17 18:56:15 +0000 |
---|---|---|
committer | Sebastian Pop <spop@amazon.com> | 2020-11-17 22:16:04 +0000 |
commit | 61ef34c503443dadc0744c5150256b90d138db0a (patch) | |
tree | 9c8e5698fa4feeb9da6f8e889c3f00ba25aae538 /gcc/config.gcc | |
parent | 04dedd18141ccf42e59f7f5f0abc3b86dd63bdb9 (diff) | |
download | gcc-61ef34c503443dadc0744c5150256b90d138db0a.zip gcc-61ef34c503443dadc0744c5150256b90d138db0a.tar.gz gcc-61ef34c503443dadc0744c5150256b90d138db0a.tar.bz2 |
add --with-{cpu,arch,tune}-{32,64} as alias flags for --with-{cpu,arch,tune}
gcc/
* config.gcc: add configure flags --with-{cpu,arch,tune}-{32,64}
as alias flags for --with-{cpu,arch,tune} on AArch64.
* doc/install.texi: Document new flags for aarch64.
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 3e8bd76..a328c25 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -4083,7 +4083,25 @@ fi supported_defaults= case "${target}" in aarch64*-*-*) - supported_defaults="abi cpu arch tune" + supported_defaults="abi cpu cpu_32 cpu_64 arch arch_32 arch_64 tune tune_32 tune_64" + if test x$with_cpu_64 != x && test x$with_cpu = x; then + with_cpu=$with_cpu_64 + fi + if test x$with_cpu_32 != x && test x$with_cpu = x; then + with_cpu=$with_cpu_32 + fi + if test x$with_arch_64 != x && test x$with_arch = x; then + with_arch=$with_arch_64 + fi + if test x$with_arch_32 != x && test x$with_arch = x; then + with_arch=$with_arch_32 + fi + if test x$with_tune_64 != x && test x$with_tune = x; then + with_tune=$with_tune_64 + fi + if test x$with_tune_32 != x && test x$with_tune = x; then + with_tune=$with_tune_32 + fi for which in cpu arch tune; do eval "val=\$with_$which" base_val=`echo $val | sed -e 's/\+.*//'` |