Pass subarch instead of arch to YASMFLAGS
authorRamiro Polla <ramiro.polla@gmail.com>
Sun, 11 Jan 2009 23:15:13 +0000 (23:15 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Sun, 11 Jan 2009 23:15:13 +0000 (23:15 +0000)
Originally committed as revision 16560 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 132c3cf..ccca8d8 100755 (executable)
--- a/configure
+++ b/configure
@@ -1750,7 +1750,7 @@ EOF
 
     check_asm bswap '"bswap %%eax" ::: "%eax"'
 
-    YASMFLAGS="-f $objformat -DARCH_$(toupper $arch)"
+    YASMFLAGS="-f $objformat -DARCH_$(toupper $subarch)"
     enabled     x86_64        && append YASMFLAGS "-m amd64"
     enabled_all x86_64 shared && append YASMFLAGS "-DPIC"
     case "$objformat" in