summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-package-cross.inc
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2007-11-24 06:08:44 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2007-11-24 06:08:44 +0000
commit3bebe97f2a8a0d1617e91dd3ecd58375c5a9a26e (patch)
tree9365aa2e9a5b910564be073d1f2fba713d022c4e /packages/gcc/gcc-package-cross.inc
parent2360a557bda08ef10b3401c8b5b581b3a9ce0ef2 (diff)
gcc-(cross)-package.inc: selective fortran packaging.
Diffstat (limited to 'packages/gcc/gcc-package-cross.inc')
-rw-r--r--packages/gcc/gcc-package-cross.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gcc/gcc-package-cross.inc b/packages/gcc/gcc-package-cross.inc
index 49d59ba704..5c6b370d82 100644
--- a/packages/gcc/gcc-package-cross.inc
+++ b/packages/gcc/gcc-package-cross.inc
@@ -81,6 +81,6 @@ do_install () {
# 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
+ ln -sf ${CROSS_DIR}/bin/${TARGET_PREFIX}gfortran ${CROSS_DIR}/bin/${TARGET_PREFIX}g77 || true
+ ln -sf ${CROSS_DIR}/${TARGET_SYS}/bin/gfortran ${CROSS_DIR}/${TARGET_SYS}/bin/g77 || true
}