aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSebastian Pop <spop@amazon.com>2020-11-17 16:00:51 +0000
committerSebastian Pop <spop@amazon.com>2020-11-17 22:16:03 +0000
commit04dedd18141ccf42e59f7f5f0abc3b86dd63bdb9 (patch)
treeb60f14f67a081978a02c054842ddfba0c0b0c13c /gcc
parent1e27e7a582a9b86bcf86f5c103cd947672746e97 (diff)
downloadgcc-04dedd18141ccf42e59f7f5f0abc3b86dd63bdb9.zip
gcc-04dedd18141ccf42e59f7f5f0abc3b86dd63bdb9.tar.gz
gcc-04dedd18141ccf42e59f7f5f0abc3b86dd63bdb9.tar.bz2
add --with-tune configure flag
fixes a configure error on Arm64 when passing --with-tune=... to configure: ``` This target does not support --with-tune. Valid --with options are: abi cpu arch ``` The missing flag sets target tuning to a different value than generic tuning. gcc/ * config.gcc: Add --with-tune to AArch64 configure flags.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config.gcc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 15318b2..3e8bd76 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -4083,9 +4083,8 @@ fi
supported_defaults=
case "${target}" in
aarch64*-*-*)
- supported_defaults="abi cpu arch"
- for which in cpu arch; do
-
+ supported_defaults="abi cpu arch tune"
+ for which in cpu arch tune; do
eval "val=\$with_$which"
base_val=`echo $val | sed -e 's/\+.*//'`
ext_val=`echo $val | sed -e 's/[a-z0-9.-]\+//'`