1
0

patch-protocols_Makefile 777 B

1234567891011121314151617181920212223242526
  1. --- bitlbee-3.0.1.orig/protocols/Makefile 2010-11-24 23:44:00.000000000 +0100
  2. +++ bitlbee-3.0.1/protocols/Makefile 2011-03-03 22:43:33.000000000 +0100
  3. @@ -24,7 +24,7 @@ subdirobjs = $(PROTOOBJS)
  4. # Expansion of variables
  5. subdirobjs := $(join $(subdirs),$(addprefix /,$(subdirobjs)))
  6. -LFLAGS += -r
  7. +LFLAGS += -Wl,-r -nostdlib
  8. # [SH] Phony targets
  9. all: protocols.o
  10. @@ -48,12 +48,12 @@ $(subdirs):
  11. protocols.o: $(objects) $(subdirs)
  12. @echo '*' Linking protocols.o
  13. - @$(LD) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o
  14. + $(CC) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o
  15. $(objects): ../Makefile.settings Makefile
  16. $(objects): %.o: $(SRCDIR)%.c
  17. @echo '*' Compiling $<
  18. - @$(CC) -c $(CFLAGS) $< -o $@
  19. + $(CC) -c $(CFLAGS) $< -o $@
  20. -include .depend/*.d