patch-protocols_Makefile 650 B

1234567891011121314151617181920
  1. --- bitlbee-1.2.4.orig/protocols/Makefile 2009-10-17 17:26:46.000000000 +0200
  2. +++ bitlbee-1.2.4/protocols/Makefile 2010-03-07 20:02:06.789785295 +0100
  3. @@ -21,7 +21,7 @@ subdirobjs = $(PROTOOBJS)
  4. # Expansion of variables
  5. subdirobjs := $(join $(subdirs),$(addprefix /,$(subdirobjs)))
  6. CFLAGS += -Wall
  7. -LFLAGS += -r
  8. +LFLAGS += -Wl,-r -nostdlib
  9. # [SH] Phony targets
  10. all: protocols.o
  11. @@ -44,7 +44,7 @@ $(subdirs):
  12. protocols.o: $(objects) $(subdirs)
  13. @echo '*' Linking protocols.o
  14. - @$(LD) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o
  15. + @$(CC) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o
  16. $(objects): ../Makefile.settings Makefile