No Description

002-remove_cross_compile_guess.patch 623B

1234567891011121314151617181920212223
  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -27,20 +27,6 @@ AC_PREFIX_DEFAULT(/usr)
  4. dnl Checks for programs.
  5. -dnl try to gues cross-compiler if not set
  6. -if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
  7. -then
  8. - AC_MSG_CHECKING(for cross-compiler)
  9. -
  10. - which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
  11. - which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
  12. - && CC=${host_cpu}-${host_os}-gcc
  13. - which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
  14. - && CC=${host_cpu}-${host_vendor}-${host_os}-gcc
  15. -
  16. - AC_MSG_RESULT($CC)
  17. -fi
  18. -
  19. CFLAGS="$CFLAGS -D_GNU_SOURCE"