01-cross_compile.patch 374 B

123456789101112
  1. diff -urN srelay-0.4.6/configure srelay-0.4.6.new/configure
  2. --- srelay-0.4.6/configure 2003-04-14 07:36:15.000000000 +0200
  3. +++ srelay-0.4.6.new/configure 2006-03-28 15:11:42.000000000 +0200
  4. @@ -1395,7 +1395,7 @@
  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