01-cross_compile.patch 382 B

123456789101112
  1. diff -urN srelay-0.4.6/configure srelay-0.4.6.new/configure
  2. --- srelay-0.4.6.orig/configure 2003-04-14 07:36:15.000000000 +0200
  3. +++ srelay-0.4.6/configure 2009-06-05 18:03:20.000000000 +0200
  4. @@ -1395,7 +1395,7 @@ _ACEOF
  5. ;;
  6. linux*)
  7. case "$build_cpu" in
  8. - i*86)
  9. + i*86 | mips* | powerpc* | sparc* | x86_64*)
  10. OS=LINUX
  11. cat >>confdefs.h <<\_ACEOF
  12. #define LINUX 1