1
0

001-makefile-objcopy.patch 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. diff -Naur shellinabox-2.10.orig/Makefile.am shellinabox-2.10/Makefile.am
  2. --- shellinabox-2.10.orig/Makefile.am 2010-03-25 19:30:55.000000000 +0100
  3. +++ shellinabox-2.10/Makefile.am 2010-03-25 19:53:49.000000000 +0100
  4. @@ -218,23 +218,23 @@
  5. debian/tmp
  6. .css.o:
  7. - @echo objcopy "$<" "$@"
  8. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  9. + @echo $(OBJCOPY) "$<" "$@"
  10. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  11. "$<" "$@"
  12. .gif.o:
  13. - @echo objcopy "$<" "$@"
  14. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  15. + @echo $(OBJCOPY) "$<" "$@"
  16. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  17. "$<" "$@"
  18. .html.o:
  19. - @echo objcopy "$<" "$@"
  20. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  21. + @echo $(OBJCOPY) "$<" "$@"
  22. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  23. "$<" "$@"
  24. .ico.o:
  25. - @echo objcopy "$<" "$@"
  26. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  27. + @echo $(OBJCOPY) "$<" "$@"
  28. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  29. "$<" "$@"
  30. shellinabox/shell_in_a_box.o: shellinabox/shell_in_a_box.js config.h
  31. @@ -249,12 +249,12 @@
  32. "$<" >"$@"
  33. .js.o:
  34. - @echo objcopy "$<" "$@"
  35. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  36. + @echo $(OBJCOPY) "$<" "$@"
  37. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  38. "$<" "$@"
  39. .wav.o:
  40. - @echo objcopy "$<" "$@"
  41. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  42. + @echo $(OBJCOPY) "$<" "$@"
  43. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  44. "$<" "$@"
  45. diff -Naur shellinabox-2.10.orig/Makefile.in shellinabox-2.10/Makefile.in
  46. --- shellinabox-2.10.orig/Makefile.in 2010-03-25 19:30:55.000000000 +0100
  47. +++ shellinabox-2.10/Makefile.in 2010-03-25 19:54:21.000000000 +0100
  48. @@ -1231,23 +1231,23 @@
  49. debian/tmp
  50. .css.o:
  51. - @echo objcopy "$<" "$@"
  52. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  53. + @echo $(OBJCOPY) "$<" "$@"
  54. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  55. "$<" "$@"
  56. .gif.o:
  57. - @echo objcopy "$<" "$@"
  58. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  59. + @echo $(OBJCOPY) "$<" "$@"
  60. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  61. "$<" "$@"
  62. .html.o:
  63. - @echo objcopy "$<" "$@"
  64. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  65. + @echo $(OBJCOPY) "$<" "$@"
  66. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  67. "$<" "$@"
  68. .ico.o:
  69. - @echo objcopy "$<" "$@"
  70. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  71. + @echo $(OBJCOPY) "$<" "$@"
  72. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  73. "$<" "$@"
  74. shellinabox/shell_in_a_box.o: shellinabox/shell_in_a_box.js config.h
  75. @@ -1262,13 +1262,13 @@
  76. "$<" >"$@"
  77. .js.o:
  78. - @echo objcopy "$<" "$@"
  79. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  80. + @echo $(OBJCOPY) "$<" "$@"
  81. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  82. "$<" "$@"
  83. .wav.o:
  84. - @echo objcopy "$<" "$@"
  85. - @objcopy -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  86. + @echo $(OBJCOPY) "$<" "$@"
  87. + @$(OBJCOPY) -I binary `$(objcopyflags)` `echo "$<" | $(renamesymbols)` \
  88. "$<" "$@"
  89. # Tell versions [3.59,3.63) of GNU make to not export all variables.