patch-configure 810 B

12345678910111213141516171819202122232425262728293031
  1. --- libx264-1.0.orig/configure 2013-10-10 22:45:04.000000000 +0200
  2. +++ libx264-1.0/configure 2013-10-12 17:49:39.000000000 +0200
  3. @@ -985,9 +985,9 @@ if [ "$debug" = "yes" ]; then
  4. elif [ $ARCH = ARM ]; then
  5. # arm-gcc-4.2 produces incorrect output with -ffast-math
  6. # and it doesn't save any speed anyway on 4.4, so disable it
  7. - CFLAGS="-O3 -fno-fast-math $CFLAGS"
  8. + CFLAGS="-fno-fast-math $CFLAGS"
  9. else
  10. - CFLAGS="-O3 -ffast-math $CFLAGS"
  11. + CFLAGS="-ffast-math $CFLAGS"
  12. fi
  13. if cc_check '' -fno-tree-vectorize ; then
  14. @@ -1125,6 +1125,7 @@ bindir=$bindir
  15. libdir=$libdir
  16. includedir=$includedir
  17. ARCH=$ARCH
  18. +ASM=$asm
  19. SYS=$SYS
  20. CC=$CC
  21. CFLAGS=$CFLAGS
  22. @@ -1136,7 +1137,7 @@ LIBX264=$LIBX264
  23. AR=$AR
  24. RANLIB=$RANLIB
  25. STRIP=$STRIP
  26. -AS=$AS
  27. +AS=$CC
  28. ASFLAGS=$ASFLAGS
  29. RC=$RC
  30. RCFLAGS=$RCFLAGS