mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-08 02:55:56 +01:00
Update build_compiler_rt.sh for Clang 5.0 and 6.0 (trunk)
This commit is contained in:
parent
4640f61540
commit
c76352d614
@ -52,8 +52,9 @@ case $CLANG_VERSION in
|
||||
3.8*) BRANCH=release_38; USE_CMAKE=1; ;;
|
||||
3.9*) BRANCH=release_39; USE_CMAKE=1; ;;
|
||||
4.0*) BRANCH=release_40; USE_CMAKE=1; ;;
|
||||
5.0*) BRANCH=master; USE_CMAKE=1; ;;
|
||||
* ) echo "Unsupported Clang version, must be >= 3.2 and <= 4.0" 1>&2; exit 1;
|
||||
5.0*) BRANCH=release_50; USE_CMAKE=1; ;;
|
||||
6.0*) BRANCH=master; USE_CMAKE=1; ;;
|
||||
* ) echo "Unsupported Clang version, must be >= 3.2 and <= 6.0" 1>&2; exit 1;
|
||||
esac
|
||||
|
||||
if [ $(osxcross-cmp $CLANG_VERSION ">=" 3.5) -eq 1 ]; then
|
||||
@ -112,6 +113,9 @@ if [ $USE_CMAKE -eq 1 ]; then
|
||||
$SED -i "s/COMMAND ld /COMMAND xcrun ld /g" \
|
||||
cmake/Modules/CompilerRTDarwinUtils.cmake
|
||||
|
||||
$SED -i "s/COMMAND codesign /COMMAND true /g" \
|
||||
cmake/Modules/AddCompilerRT.cmake
|
||||
|
||||
mkdir build
|
||||
pushd build &>/dev/null
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user