Linker options --start-group/--end-group don't do anything around object files, so we remove them.

svn path=/trunk/netsurf/; revision=3995
This commit is contained in:
John Tytgat 2008-03-20 13:21:53 +00:00
parent 9f323761e5
commit d7c204b8a0
1 changed files with 1 additions and 5 deletions

View File

@ -82,13 +82,9 @@ CC := /home/riscos/cross/bin/gcc
EXEEXT := ,ff8
PKG_CONFIG := $(GCCSDK_INSTALL_ENV)/ro-pkg-config
endif
STARTGROUP :=
ENDGROUP :=
else
# Building for GTK
PKG_CONFIG := pkg-config
STARTGROUP := -Wl,--start-group
ENDGROUP := -Wl,--end-group
endif
ifeq ($(HOST),riscos)
@ -150,7 +146,7 @@ OBJECTS := $(sort $(addprefix $(OBJROOT)/,$(subst /,_,$(patsubst %.c,%.o,$(patsu
$(EXETARGET): $(OBJECTS)
$(VQ)echo " LINK: $(EXETARGET)"
$(Q)$(CC) -o $(EXETARGET) $(STARTGROUP) $(OBJECTS) $(ENDGROUP) $(LDFLAGS)
$(Q)$(CC) -o $(EXETARGET) $(OBJECTS) $(LDFLAGS)
clean-target:
$(VQ)echo " CLEAN: $(EXETARGET)"