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 132c3cf84fd5658795f5585e397965af91343a9b..ccca8d85d912adc77ee1c68bf355f12cf8e3f8b1 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