patch-configure 916 B

12345678910111213141516171819202122232425262728293031
  1. --- libx264-1.0.1.orig/configure 2014-01-22 11:20:21.000000000 +0100
  2. +++ libx264-1.0.1/configure 2014-01-22 19:42:21.000000000 +0100
  3. @@ -662,7 +662,7 @@ case $host_cpu in
  4. LDFLAGS="$LDFLAGS -arch armv7"
  5. fi
  6. else
  7. - AS="${AS-${cross_prefix}gcc}"
  8. + AS="${cross_prefix}gcc"
  9. fi
  10. ;;
  11. s390|s390x)
  12. @@ -1007,9 +1007,9 @@ if [ "$debug" = "yes" ]; then
  13. elif [ $ARCH = ARM ]; then
  14. # arm-gcc-4.2 produces incorrect output with -ffast-math
  15. # and it doesn't save any speed anyway on 4.4, so disable it
  16. - CFLAGS="-O3 -fno-fast-math $CFLAGS"
  17. + CFLAGS="-fno-fast-math $CFLAGS"
  18. else
  19. - CFLAGS="-O3 -ffast-math $CFLAGS"
  20. + CFLAGS="-ffast-math $CFLAGS"
  21. fi
  22. if cc_check '' -fno-tree-vectorize ; then
  23. @@ -1147,6 +1147,7 @@ bindir=$bindir
  24. libdir=$libdir
  25. includedir=$includedir
  26. ARCH=$ARCH
  27. +ASM=$asm
  28. SYS=$SYS
  29. CC=$CC
  30. CFLAGS=$CFLAGS