Skip to content
This repository was archived by the owner on Sep 29, 2022. It is now read-only.

Commit 7b76034

Browse files
committed
more fortran fixes
1 parent e4452c6 commit 7b76034

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

cross-compilers/compilers_generic/install-gcc.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ pushd ${SRC_DIR}/.build/${CHOST}/build/build-cc-gcc-final/
1717
make -C ${CHOST}/libgcc prefix=${PREFIX} install
1818
# rm ${PREFIX}/lib/libgcc_s.so*
1919

20-
mkdir -p $PREFIX/$CHOST/sysroot/lib
20+
# mkdir -p $PREFIX/$CHOST/sysroot/lib
2121

22-
cp ${SRC_DIR}/gcc_built/$CHOST/sysroot/lib/libgomp.so* $PREFIX/$CHOST/sysroot/lib
23-
if [ -e ${SRC_DIR}/gcc_built/$CHOST/sysroot/lib/libquadmath.so* ]; then
24-
cp ${SRC_DIR}/gcc_built/$CHOST/sysroot/lib/libquadmath.so* $PREFIX/$CHOST/sysroot/lib
25-
fi
22+
# cp ${SRC_DIR}/gcc_built/$CHOST/sysroot/lib/libgomp.so* $PREFIX/$CHOST/sysroot/lib
23+
# if [ -e ${SRC_DIR}/gcc_built/$CHOST/sysroot/lib/libquadmath.so* ]; then
24+
# cp ${SRC_DIR}/gcc_built/$CHOST/sysroot/lib/libquadmath.so* $PREFIX/$CHOST/sysroot/lib
25+
# fi
2626

2727
make prefix=${PREFIX} install-libcc1
2828
install -d ${PREFIX}/share/gdb/auto-load/usr/lib

cross-compilers/compilers_generic/install-libgfortran.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ export PATH=${SRC_DIR}/gcc_built/bin:${SRC_DIR}/.build/${CHOST}/buildtools/bin:$
99
mkdir -p $PREFIX/lib
1010
rm -f $PREFIX/lib/libgfortran* || true
1111

12-
cp ${SRC_DIR}/gcc_built/$CHOST/sysroot/lib/libgfortran.so.3.0.0 $PREFIX/lib
13-
pushd $PREFIX/lib
14-
ln -s libgfortran.so.3.0.0 libgfortran.so.3.0
15-
ln -s libgfortran.so.3.0 libgfortran.so
16-
popd
12+
cp -f ${SRC_DIR}/gcc_built/$CHOST/sysroot/lib/libgfortran.so* $PREFIX/lib
1713

1814
# Install Runtime Library Exception
1915
install -Dm644 $SRC_DIR/.build/src/gcc-${PKG_VERSION}/COPYING.RUNTIME \

0 commit comments

Comments
 (0)