Skip to content

Commit

Permalink
Fix CPU detection for armhf
Browse files Browse the repository at this point in the history
This applies the same fix in MythTV as was applied in 75cf504 to FFmpeg.
The same code is in MythTV and needs the same fix.

Fixes #505

(cherry picked from commit 13e75f1)
  • Loading branch information
bennettpeter committed Feb 26, 2022
1 parent 75cf504 commit 75b942f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mythtv/configure
Original file line number Diff line number Diff line change
Expand Up @@ -4308,9 +4308,10 @@ elif enabled arm; then
fi
}

[ "$cpu" = generic ] && cpu=$(probe_arm_arch)

case $cpu in
generic)
subarch=$(probe_arm_arch | sed 's/[^a-z0-9]//g')
;;
armv*)
cpuflags="-march=$cpu"
subarch=$(echo $cpu | sed 's/[^a-z0-9]//g')
Expand Down

0 comments on commit 75b942f

Please sign in to comment.