summaryrefslogtreecommitdiff
path: root/package/elinks/patches/patch-Makefile_lib
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/elinks/patches/patch-Makefile_lib
parent98c4842cbff9e4802092c5011feb0ecbb8e4881d (diff)
parentbf5f8fc2eaded785753175367f7f1a52192c2d62 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/elinks/patches/patch-Makefile_lib')
-rw-r--r--package/elinks/patches/patch-Makefile_lib11
1 files changed, 11 insertions, 0 deletions
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)`)
+