diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-31 08:51:39 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-31 08:51:39 +0000 |
commit | c2eae137e936c810e5c703a53310a92df708bbf1 (patch) | |
tree | 91513f6b662e574e7643ed1a6d2c91f651ee358a /configure | |
parent | f138fa78a3bb0a44dc9bef051b146db2453ca279 (diff) | |
download | ffmpeg-c2eae137e936c810e5c703a53310a92df708bbf1.tar.gz |
configure: set subarch for ARM
Originally committed as revision 24614 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2121,9 +2121,18 @@ elif enabled arm; then case $cpu in armv*) cpuflags="-march=$cpu" + subarch=$(echo $cpu | sed 's/[^a-z0-9]//g') ;; *) cpuflags="-mcpu=$cpu" + case $cpu in + cortex-a*) subarch=armv7a ;; + cortex-r*) subarch=armv7r ;; + cortex-m*) subarch=armv7m ;; + arm11*) subarch=armv6 ;; + arm[79]*e*|arm9[24]6*|arm96*|arm102[26]) subarch=armv5te ;; + armv4*|arm7*|arm9[24]*) subarch=armv4 ;; + esac ;; esac |