diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-12 17:28:03 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-12 17:28:03 +0100 |
commit | 1390c5863daa190d47dbfae41377f5c0656f2c0e (patch) | |
tree | bd4b9106f411e5e2cacfcfa74c77bd8e74ac851d /package/bitlbee/patches/patch-protocols_Makefile | |
parent | 73cf5d6e4b2036df3a8cf39b713fcadc9ceb452e (diff) |
fix cross-compile the right way
Diffstat (limited to 'package/bitlbee/patches/patch-protocols_Makefile')
-rw-r--r-- | package/bitlbee/patches/patch-protocols_Makefile | 20 |
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 + |