public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/redhat/heads/gcc-8-branch)] add --with-tune configure flag
@ 2021-04-23 10:20 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2021-04-23 10:20 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:da1fa33bd5d2f5059ddf904adc0e82d2048dbd42

commit da1fa33bd5d2f5059ddf904adc0e82d2048dbd42
Author: Sebastian Pop <spop@amazon.com>
Date:   Tue Nov 17 16:00:51 2020 +0000

    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.
    
    (cherry picked from commit 04dedd18141ccf42e59f7f5f0abc3b86dd63bdb9)

Diff:
---
 gcc/config.gcc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 47cfce25dee..4c4c09b6445 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -3703,9 +3703,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.-]\+//'`


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-23 10:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-23 10:20 [gcc(refs/vendors/redhat/heads/gcc-8-branch)] add --with-tune configure flag Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).