1
0

patch-Makefile_lib 607 B

1234567891011
  1. --- elinks-0.11.7.orig/Makefile.lib 2009-08-22 13:15:08.000000000 +0200
  2. +++ elinks-0.11.7/Makefile.lib 2010-03-06 11:28:58.000000000 +0100
  3. @@ -43,7 +43,7 @@ quiet_cmd_compile = ' [$(CC_COLOR)C
  4. # Rule to compile a set of .o files into one .o file
  5. quiet_cmd_ld_objs = " [$(LD_COLOR)LD$(END_COLOR)] $(RELPATH)$@"
  6. - cmd_ld_objs = $(LD) -r -o $@ $(filter $(OBJS), $^) \
  7. + cmd_ld_objs = $(CC) -Wl,-r -nostdlib -o $@ $(filter $(OBJS), $^) \
  8. $(foreach subdir,$(sort $(filter-out src,$(SUBDIRS))), \
  9. `test -e $(subdir)/$(LIB_O_NAME) && echo $(subdir)/$(LIB_O_NAME)`)