patch-protocols_jabber_Makefile 763 B

123456789101112131415161718192021222324
  1. --- bitlbee-3.0.1.orig/protocols/jabber/Makefile 2010-11-24 23:44:00.000000000 +0100
  2. +++ bitlbee-3.0.1/protocols/jabber/Makefile 2011-03-03 22:41:38.000000000 +0100
  3. @@ -14,7 +14,7 @@ endif
  4. # [SH] Program variables
  5. objects = conference.o io.o iq.o jabber.o jabber_util.o message.o presence.o s5bytestream.o sasl.o si.o
  6. -LFLAGS += -r
  7. +LFLAGS += -Wl,-r -nostdlib
  8. # [SH] Phony targets
  9. all: jabber_mod.o
  10. @@ -37,10 +37,10 @@ $(objects): ../../Makefile.settings Make
  11. $(objects): %.o: $(SRCDIR)%.c
  12. @echo '*' Compiling $<
  13. - @$(CC) -c $(CFLAGS) $< -o $@
  14. + $(CC) -c $(CFLAGS) $< -o $@
  15. jabber_mod.o: $(objects)
  16. @echo '*' Linking jabber_mod.o
  17. - @$(LD) $(LFLAGS) $(objects) -o jabber_mod.o
  18. + $(CC) $(LFLAGS) $(objects) -o jabber_mod.o
  19. -include .depend/*.d