mirror of
https://github.com/brain-hackers/cegcc-build.git
synced 2024-12-22 20:20:08 +09:00
build-mingw32ce.sh: auto-detect gcc version
This commit is contained in:
parent
9917bc2b2f
commit
44cb392817
@ -260,9 +260,12 @@ build_bootstrap_gcc()
|
|||||||
make ${PARALLELISM} all-gcc
|
make ${PARALLELISM} all-gcc
|
||||||
make configure-target-libgcc
|
make configure-target-libgcc
|
||||||
make install-gcc
|
make install-gcc
|
||||||
|
|
||||||
|
gcc_version=`${PREFIX}/bin/${TARGET}-gcc -dumpversion`
|
||||||
|
|
||||||
cd ${TARGET}/libgcc
|
cd ${TARGET}/libgcc
|
||||||
make ${PARALLELLISM} libgcc.a
|
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}
|
cd ${BUILD_DIR}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user