OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../silo/be-crosscompilable.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./second/Makefile.orig 2004-06-28 23:34:28.348996456 +0200
  17. +++ ./second/Makefile 2004-06-28 23:34:36.316785168 +0200
  18. @@ -85,7 +85,7 @@
  19. $(CC) $(CFLAGS) -c -o $@ $<
  20. util: util.c
  21. - $(CC) -DSMALL_RELOC=$(SMALL_RELOC) -DLARGE_RELOC=$(LARGE_RELOC) -o $@ $<
  22. + $(HOST_CC) -DSMALL_RELOC=$(SMALL_RELOC) -DLARGE_RELOC=$(LARGE_RELOC) -o $@ $<
  23. clean:
  24. $(RM) *.o fs/*.o second* silotftp* util fs/libfs.a
  25. --- ./common/Makefile.orig 2004-06-28 23:32:28.987142216 +0200
  26. +++ ./common/Makefile 2004-06-28 23:33:46.917295032 +0200
  27. @@ -12,12 +12,15 @@
  28. OBJS = sdiv.o rem.o udiv.o urem.o jmp.o printf.o console.o prom.o tree.o stringops2.o\
  29. stringops1.o ffs.o divdi3.o udivdi3.o
  30. -PROGRAMS = bin2h
  31. -all: $(OBJS) $(PROGRAMS)
  32. +bin2h:
  33. + $(HOST_CC) $(CFLAGS) -o bin2h bin2h.c
  34. +
  35. +all: $(OBJS) bin2h
  36. prom.o: prom.c
  37. $(CC) $(CFLAGS) -c -Wa,-Av9 -o prom.o prom.c
  38. clean:
  39. $(RM) $(PROGRAMS) *.o
  40. +