000-makefile-arch.patch 1.3 KB

12345678910111213141516171819202122
  1. diff -Naur shellinabox-2.10.orig/Makefile.am shellinabox-2.10/Makefile.am
  2. --- shellinabox-2.10.orig/Makefile.am 2009-11-18 17:55:52.000000000 +0100
  3. +++ shellinabox-2.10/Makefile.am 2010-03-25 14:16:03.000000000 +0100
  4. @@ -107,6 +107,7 @@
  5. objcopyflags = case "$(host_cpu)" in \
  6. i[0-9]86) echo '-O elf32-i386 -B i386';; \
  7. x86_64) echo '-O elf64-x86-64 -B i386:x86-64';; \
  8. + mips*) echo '-O elf32-tradbigmips -B mips:isa32';; \
  9. arm*) echo '-O elf32-littlearm -B arm';; \
  10. esac
  11. diff -Naur shellinabox-2.10.orig/Makefile.in shellinabox-2.10/Makefile.in
  12. --- shellinabox-2.10.orig/Makefile.in 2009-11-21 23:47:39.000000000 +0100
  13. +++ shellinabox-2.10/Makefile.in 2010-03-25 14:16:28.000000000 +0100
  14. @@ -371,6 +371,7 @@
  15. objcopyflags = case "$(host_cpu)" in \
  16. i[0-9]86) echo '-O elf32-i386 -B i386';; \
  17. x86_64) echo '-O elf64-x86-64 -B i386:x86-64';; \
  18. + mips*) echo '-O elf32-tradbigmips -B mips:isa32';; \
  19. arm*) echo '-O elf32-littlearm -B arm';; \
  20. esac