blob: 9bf83badc81aec940a51181c07a14f2573273025 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- bitlbee-3.5.1.orig/protocols/jabber/Makefile 2017-01-30 21:45:59.000000000 +0100
+++ bitlbee-3.5.1/protocols/jabber/Makefile 2017-05-20 12:15:26.360306005 +0200
@@ -14,7 +14,7 @@ endif
# [SH] Program variables
objects = conference.o io.o iq.o jabber.o jabber_util.o message.o presence.o s5bytestream.o sasl.o si.o hipchat.o
-LFLAGS += -r
+LFLAGS += -Wl,-r -nostdlib
# [SH] Phony targets
all: jabber_mod.o
@@ -41,6 +41,6 @@ $(objects): %.o: $(_SRCDIR_)%.c
jabber_mod.o: $(objects)
@echo '*' Linking jabber_mod.o
- @$(LD) $(LFLAGS) $(objects) -o jabber_mod.o
+ @$(CC) $(LFLAGS) $(objects) -o jabber_mod.o
-include .depend/*.d
|