Skip to content
This repository
Browse code

[depends] fix ffmpeg cross compilation on linux

  • Loading branch information...
commit 528b47e7db009356f3355021801223c600e0e058 1 parent 138a1b6
authored September 15, 2013

Showing 1 changed file with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. 8  configure.in
8  configure.in
@@ -615,9 +615,17 @@ case $host in
615 615
      ;;
616 616
   i*86*-linux-gnu*)
617 617
      ARCH="i486-linux"
  618
+     if test "$use_cpu" = "no" -a "$cross_compiling" = "yes";  then
  619
+        use_arch="x86"
  620
+        use_cpu="i686"
  621
+     fi
618 622
      ;;
619 623
   x86_64-*-linux-gnu*)
620 624
      ARCH="x86_64-linux"
  625
+     if test "$use_cpu" = "no" -a "$cross_compiling" = "yes";  then
  626
+        use_arch="x86_64"
  627
+        use_cpu="x86_64"
  628
+     fi
621 629
      ;;
622 630
   i386-*-freebsd*)
623 631
      ARCH="x86-freebsd"

0 notes on commit 528b47e

Please sign in to comment.
Something went wrong with that request. Please try again.