diff options
author | Junqian Gordon Xu <xjqian@gmail.com> | 2007-11-23 05:17:05 +0000 |
---|---|---|
committer | Junqian Gordon Xu <xjqian@gmail.com> | 2007-11-23 05:17:05 +0000 |
commit | 16ba12f1815e1239d7d4d249eeebce947145b4bf (patch) | |
tree | 6de509b993a1a0dc7c72dc6f03be78d3cca9a6fb /packages | |
parent | 16719dc8ce9373ba8a671cb35b7be0a188242cc5 (diff) |
gcc-package-cross.inc: link gfortran to g77
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gcc/gcc-package-cross.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/gcc/gcc-package-cross.inc b/packages/gcc/gcc-package-cross.inc index 0875d1ab86..49d59ba704 100644 --- a/packages/gcc/gcc-package-cross.inc +++ b/packages/gcc/gcc-package-cross.inc @@ -78,4 +78,9 @@ do_install () { ${TARGET_PREFIX}strip ${D}${target_base_libdir}/libgcc_s.so.* ${TARGET_PREFIX}strip ${D}${target_libdir}/libgfortran*.so* || true fi + + # Link gfortran to g77 to satisfy not-so-smart configure or hard coded g77 + # gfortran is fully backwards compatible. This is a safe and practical solution. + ln -sf ${CROSS_DIR}/bin/${TARGET_PREFIX}gfortran ${CROSS_DIR}/bin/${TARGET_PREFIX}g77 + ln -sf ${CROSS_DIR}/${TARGET_SYS}/bin/gfortran ${CROSS_DIR}/${TARGET_SYS}/bin/g77 } |