Kugan Vivekanandarajah <kvivekana...@nvidia.com> writes:
> diff --git a/configure.ac b/configure.ac
> index 730db3c1402..701284e38f2 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -621,6 +621,14 @@ case "${target}" in
>      ;;
>  esac
>  
> +autofdo_target="i386"
> +case "${target}" in
> +  aarch64-*-*)
> +    autofdo_target="aarch64"
> +    ;;
> +esac
> +AC_SUBST(autofdo_target)
> +
>  # Disable libssp for some systems.
>  case "${target}" in
>    avr-*-*)

Couldn't we use the existing $cpu_type, rather than adding a new variable?
I don't think the two would ever need to diverge.

Richard

Reply via email to