patch-protocols_Makefile 651 B

1234567891011121314151617181920
  1. --- bitlbee-3.6.orig/protocols/Makefile 2019-02-07 20:53:38.000000000 +0100
  2. +++ bitlbee-3.6/protocols/Makefile 2024-02-14 17:50:36.259530848 +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,7 +48,7 @@ $(subdirs):
  11. protocols.o: $(objects) $(subdirs)
  12. @echo '*' Linking protocols.o
  13. - $(VERBOSE) $(LD) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o
  14. + $(VERBOSE) $(CC) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o
  15. $(objects): ../Makefile.settings Makefile