use bfd linker on ix86

SILENT: svn-revision: 820080
This commit is contained in:
peroyvind 2012-10-28 06:42:40 +00:00 committed by peroyvind
parent 5aa2976c7c
commit 9774ea98ec

View file

@ -205,6 +205,10 @@ export LIBPATH_LIB="%{_lib}"
--disable-docs
%endif
echo VBOX_GCC_OPT="%{optflags}" >> LocalConfig.kmk
%ifarch %{ix86}
%global ldflags %{ldflags} -fuse-ld=bfd
%endif
echo TOOL_GCC_LDFLAGS="%{ldflags}" >> LocalConfig.kmk
%if !%{build_additions}
sed -rie 's/(VBOX_WITH_LINUX_ADDITIONS\s+:=\s+).*/\1/' AutoConfig.kmk