]> code.ossystems Code Review - openembedded-core.git/commit
ovmf: avoid linking with gold
authorPatrick Ohly <patrick.ohly@intel.com>
Wed, 29 Mar 2017 12:52:06 +0000 (14:52 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Mar 2017 09:03:56 +0000 (10:03 +0100)
commit7ee548b9f6f2893caf6b5ade8c892f2968d4ec47
treeb652b13648ab9e40d7f41918f1dba24695617a79
parent6d6d0737a29bbf3dcd231bfefe13784ed16dd55a
ovmf: avoid linking with gold

Linking with gold fails due to an internal error in gold. The ovmf
linker is gcc, which has a -fuse-ld=bfd option to choose the linker
which (for ovmf) is known to work.

Like the choice of the compilers, this is done in ovmf-native. To keep
that recipe independent of DISTRO_FEATURES, choosing bfd is done
unconditionally.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/ovmf/ovmf_git.bb