summaryrefslogtreecommitdiff
path: root/package/bitlbee/patches/patch-protocols_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-03-28 16:07:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-03-28 16:07:18 +0200
commit8bee65a9cbd1905e356ff468a48e90608a08a8e6 (patch)
treeafdb76c6fa9e0e91482680497f0f5c27c56a9d4b /package/bitlbee/patches/patch-protocols_Makefile
parent98c4842cbff9e4802092c5011feb0ecbb8e4881d (diff)
parentbf5f8fc2eaded785753175367f7f1a52192c2d62 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/bitlbee/patches/patch-protocols_Makefile')
-rw-r--r--package/bitlbee/patches/patch-protocols_Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/bitlbee/patches/patch-protocols_Makefile b/package/bitlbee/patches/patch-protocols_Makefile
new file mode 100644
index 000000000..ffb47b391
--- /dev/null
+++ b/package/bitlbee/patches/patch-protocols_Makefile
@@ -0,0 +1,20 @@
+--- bitlbee-1.2.4.orig/protocols/Makefile 2009-10-17 17:26:46.000000000 +0200
++++ bitlbee-1.2.4/protocols/Makefile 2010-03-07 20:02:06.789785295 +0100
+@@ -21,7 +21,7 @@ subdirobjs = $(PROTOOBJS)
+ # Expansion of variables
+ subdirobjs := $(join $(subdirs),$(addprefix /,$(subdirobjs)))
+ CFLAGS += -Wall
+-LFLAGS += -r
++LFLAGS += -Wl,-r -nostdlib
+
+ # [SH] Phony targets
+ all: protocols.o
+@@ -44,7 +44,7 @@ $(subdirs):
+
+ protocols.o: $(objects) $(subdirs)
+ @echo '*' Linking protocols.o
+- @$(LD) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o
++ @$(CC) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o
+
+ $(objects): ../Makefile.settings Makefile
+