diff options
Diffstat (limited to 'package/bitlbee/patches/patch-protocols_oscar_Makefile')
-rw-r--r-- | package/bitlbee/patches/patch-protocols_oscar_Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/package/bitlbee/patches/patch-protocols_oscar_Makefile b/package/bitlbee/patches/patch-protocols_oscar_Makefile index 2d7e0dde0..c11eaea1c 100644 --- a/package/bitlbee/patches/patch-protocols_oscar_Makefile +++ b/package/bitlbee/patches/patch-protocols_oscar_Makefile @@ -1,17 +1,24 @@ ---- bitlbee-1.2.4.orig/protocols/oscar/Makefile 2009-10-17 17:26:46.000000000 +0200 -+++ bitlbee-1.2.4/protocols/oscar/Makefile 2010-03-07 20:00:56.836124250 +0100 -@@ -12,7 +12,7 @@ +--- 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 - CFLAGS += -Wall -LFLAGS += -r +LFLAGS += -Wl,-r -nostdlib # [SH] Phony targets all: oscar_mod.o -@@ -38,4 +38,4 @@ $(objects): %.o: %.c +@@ -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 ++ $(CC) $(LFLAGS) $(objects) -o oscar_mod.o + + -include .depend/*.d |