summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-target.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index d61e96b57b..e7f1b80894 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -91,13 +91,13 @@ do_install () {
91 find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f 91 find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f
92 92
93 # Symlinks so we can use these trivially on the target 93 # Symlinks so we can use these trivially on the target
94 ln -sf ${TARGET_SYS}-g77 g77 || true 94 ln -sf ${TARGET_PREFIX}g77 g77 || true
95 ln -sf ${TARGET_SYS}-gfortran gfortran || true 95 ln -sf ${TARGET_PREFIX}gfortran gfortran || true
96 ln -sf ${TARGET_SYS}-g++ g++ 96 ln -sf ${TARGET_PREFIX}g++ g++
97 ln -sf ${TARGET_SYS}-gcc gcc 97 ln -sf ${TARGET_PREFIX}gcc gcc
98 ln -sf g77 f77 || true 98 ln -sf g77 f77 || true
99 ln -sf gfortran f95 || true 99 ln -sf gfortran f95 || true
100 ln -sf g++ c++ 100 ln -sf g++ c++
101 ln -sf gcc cc 101 ln -sf gcc cc
102 ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${bindir}/cpp 102 ln -sf ${bindir}/${TARGET_PREFIX}cpp ${D}${bindir}/cpp
103} 103}