]> code.ossystems Code Review - openembedded-core.git/commit
gcc-cross: Fix linker and fortran symlinks
authorKhem Raj <raj.khem@gmail.com>
Tue, 11 Jul 2017 14:05:46 +0000 (07:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Jul 2017 12:48:57 +0000 (13:48 +0100)
commitf84614c082406287e608860741a82edd2f3c9bca
tree1e6f104a86da257171b841e60f6d543b02239653
parent844d477982bb104fa1674324d2699b8995a51a58
gcc-cross: Fix linker and fortran symlinks

If we used -fuse-ld gcc option, then it does not work
ending in

collect2: fatal error: cannot find 'ld'                                                                                                                                                                                                       compilation terminated.

This is because we are not creating proper symlinks for BFD
and Gold linker in gcc installation

Secondly, we end up with dangling fortran compiler symlinks
if fortran is not enabled when confguring gcc, therefore
create these symlinks only when fortran support is enabled
in gcc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gcc/gcc-cross.inc