blob: c11eaea1cc30aac81923eda6369fbab571598dc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- bitlbee-3.0.1.orig/protocols/oscar/Makefile 2010-11-24 23:44:00.000000000 +0100
+++ bitlbee-3.0.1/protocols/oscar/Makefile 2011-03-03 22:40:43.000000000 +0100
@@ -15,7 +15,7 @@ endif
# [SH] Program variables
objects = admin.o auth.o bos.o buddylist.o chat.o chatnav.o conn.o icq.o im.o info.o misc.o msgcookie.o rxhandlers.o rxqueue.o search.o service.o snac.o ssi.o stats.o tlv.o txqueue.o oscar_util.o oscar.o
-LFLAGS += -r
+LFLAGS += -Wl,-r -nostdlib
# [SH] Phony targets
all: oscar_mod.o
@@ -38,10 +38,10 @@ $(objects): ../../Makefile.settings Make
$(objects): %.o: $(SRCDIR)%.c
@echo '*' Compiling $<
- @$(CC) -c $(CFLAGS) $< -o $@
+ $(CC) -c $(CFLAGS) $< -o $@
oscar_mod.o: $(objects)
@echo '*' Linking oscar_mod.o
- @$(LD) $(LFLAGS) $(objects) -o oscar_mod.o
+ $(CC) $(LFLAGS) $(objects) -o oscar_mod.o
-include .depend/*.d
|