git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16719dc
)
gcc-package-cross.inc: link gfortran to g77
author
Junqian Gordon Xu
<xjqian@gmail.com>
Fri, 23 Nov 2007 05:17:05 +0000
(
05:17
+0000)
committer
Junqian Gordon Xu
<xjqian@gmail.com>
Fri, 23 Nov 2007 05:17:05 +0000
(
05:17
+0000)
packages/gcc/gcc-package-cross.inc
patch
|
blob
|
history
diff --git
a/packages/gcc/gcc-package-cross.inc
b/packages/gcc/gcc-package-cross.inc
index
0875d1a
..
49d59ba
100644
(file)
--- 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
}