From 2dc4319c282f152dbdec9d77ffd6d4381c994bbf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 14:33:25 +0100 Subject: fix compile for mips64 --- package/elinks/patches/patch-Makefile_lib | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/elinks/patches/patch-Makefile_lib (limited to 'package/elinks/patches/patch-Makefile_lib') diff --git a/package/elinks/patches/patch-Makefile_lib b/package/elinks/patches/patch-Makefile_lib new file mode 100644 index 000000000..122e6c13d --- /dev/null +++ b/package/elinks/patches/patch-Makefile_lib @@ -0,0 +1,11 @@ +--- elinks-0.11.7.orig/Makefile.lib 2009-08-22 13:15:08.000000000 +0200 ++++ elinks-0.11.7/Makefile.lib 2010-03-06 11:28:58.000000000 +0100 +@@ -43,7 +43,7 @@ quiet_cmd_compile = ' [$(CC_COLOR)C + + # Rule to compile a set of .o files into one .o file + quiet_cmd_ld_objs = " [$(LD_COLOR)LD$(END_COLOR)] $(RELPATH)$@" +- cmd_ld_objs = $(LD) -r -o $@ $(filter $(OBJS), $^) \ ++ cmd_ld_objs = $(CC) -Wl,-r -nostdlib -o $@ $(filter $(OBJS), $^) \ + $(foreach subdir,$(sort $(filter-out src,$(SUBDIRS))), \ + `test -e $(subdir)/$(LIB_O_NAME) && echo $(subdir)/$(LIB_O_NAME)`) + -- cgit v1.2.3