Skip to content

Commit

Permalink
configure: modify echo CPU for --cpu=host
Browse files Browse the repository at this point in the history
  • Loading branch information
ulmus-scott committed Feb 1, 2025
1 parent 94adfb6 commit ecfe1b4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion mythtv/configure
Original file line number Diff line number Diff line change
Expand Up @@ -6382,6 +6382,7 @@ ffmpeg_optenableif() {
}

if [ -n "$cpuflags_native" ]; then
cpu_detected="$cpu"
cpu="host"
fi

Expand Down Expand Up @@ -6485,7 +6486,14 @@ echo "install prefix $prefix"
echo "runtime prefix $runprefix"
echo
if enabled cpu_override && test x"$cpu" != x"generic"; then
echo "CPU override $arch $subarch ($cpu)"
if [ -n "$cpuflags_native" ]; then
echo "CPU override $arch $subarch (cpu=host (native) is $cpu_detected)"
if test x"$processor" != x"" ; then
echo " [$processor]"
fi
else
echo "CPU override $arch $subarch ($cpu)"
fi
elif test x"$processor" != x"" ; then
echo "CPU $arch $subarch ($processor)"
else
Expand Down

0 comments on commit ecfe1b4

Please sign in to comment.