[MPlayer-cvslog] r38195 - trunk/configure

Alexander Strasser eclipse7 at gmx.net
Sat Oct 31 22:38:51 EET 2020


On 2020-08-30 18:51 +0300, reimar wrote:
> Author: reimar
> Date: Sun Aug 30 18:51:28 2020
> New Revision: 38195
>
> Log:
> configure: allow using --enable-runtime-cpudetection for Arm builds.
>
> This is mostly to allow undoing the effects of the previous
> patch which adds -march=native if it is not set
>
> Modified:
>    trunk/configure
>
> Modified: trunk/configure
> ==============================================================================
> --- trunk/configure	Sun Aug 30 18:27:41 2020	(r38194)
> +++ trunk/configure	Sun Aug 30 18:51:28 2020	(r38195)
> @@ -1920,7 +1920,7 @@ fi
>  echo "Detected operating system: $system_name"
>  echo "Detected host architecture: $host_arch"
>
> -if test "$_runtime_cpudetection" = yes && ! x86 && ! ppc; then
> +if test "$_runtime_cpudetection" = yes && ! x86 && ! ppc && ! arm; then
>    die "Runtime CPU detection only works for x86, x86-64 and PPC!"
>  fi
>
> @@ -9716,6 +9716,14 @@ If you suspect a bug, please read DOCS/H
>
>  EOF
>
> +if test "$_runtime_cpudetection" = yes && arm; then
> +  cat << EOF
> +WARNING: --enable-runtime-cpudetection is not fully supported on Arm,
> +it only compiles for your compilers default target instead of the host
> +CPU (-match=native).

Here is a little typo, should be: -march=native

If anyone is pushing changes ATM, please consider fix the typo too.
Thanks in advance.


> +EOF
> +fi
> +
>  if test "$warn_cflags" = yes; then
>    cat <<EOF


  Alexander


More information about the MPlayer-cvslog mailing list