diff --git a/build-arm-mingw32ce/build-mingw32ce.sh b/build-arm-mingw32ce/build-mingw32ce.sh index 0a396de..689d8e2 100755 --- a/build-arm-mingw32ce/build-mingw32ce.sh +++ b/build-arm-mingw32ce/build-mingw32ce.sh @@ -260,9 +260,12 @@ build_bootstrap_gcc() make ${PARALLELISM} all-gcc make configure-target-libgcc make install-gcc + + gcc_version=`${PREFIX}/bin/${TARGET}-gcc -dumpversion` + cd ${TARGET}/libgcc make ${PARALLELLISM} libgcc.a - /usr/bin/install -c -m 644 libgcc.a ${PREFIX}/lib/gcc/${TARGET}/4.6.2 + /usr/bin/install -c -m 644 libgcc.a ${PREFIX}/lib/gcc/${TARGET}/${gcc_version} cd ${BUILD_DIR} }