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_msn_Makefile | |
parent | 73cf5d6e4b2036df3a8cf39b713fcadc9ceb452e (diff) |
fix cross-compile the right way
Diffstat (limited to 'package/bitlbee/patches/patch-protocols_msn_Makefile')
-rw-r--r-- | package/bitlbee/patches/patch-protocols_msn_Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/bitlbee/patches/patch-protocols_msn_Makefile b/package/bitlbee/patches/patch-protocols_msn_Makefile new file mode 100644 index 000000000..8f634c5f6 --- /dev/null +++ b/package/bitlbee/patches/patch-protocols_msn_Makefile @@ -0,0 +1,19 @@ +--- bitlbee-1.2.4.orig/protocols/msn/Makefile 2009-10-17 17:26:46.000000000 +0200 ++++ bitlbee-1.2.4/protocols/msn/Makefile 2010-03-07 20:00:17.406036329 +0100 +@@ -12,7 +12,7 @@ + objects = msn.o msn_util.o ns.o passport.o sb.o tables.o + + CFLAGS += -Wall +-LFLAGS += -r ++LFLAGS += -Wl,-r -nostdlib + + # [SH] Phony targets + all: msn_mod.o +@@ -38,6 +38,6 @@ $(objects): %.o: %.c + + msn_mod.o: $(objects) + @echo '*' Linking msn_mod.o +- @$(LD) $(LFLAGS) $(objects) -o msn_mod.o ++ @$(CC) $(LFLAGS) $(objects) -o msn_mod.o + + |