зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1610578 - Add cross sysroot for macOS sccache build. r=froydnj
Depends on D60536 Differential Revision: https://phabricator.services.mozilla.com/D60592 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
3617743fb8
Коммит
7001285651
|
@ -36,6 +36,7 @@ Linux)
|
|||
export PATH="$MOZ_FETCHES_DIR/cctools/bin:$PATH"
|
||||
export RUSTFLAGS="-C linker=$GECKO_PATH/taskcluster/scripts/misc/osx-cross-linker"
|
||||
export CC="$MOZ_FETCHES_DIR/clang/bin/clang"
|
||||
export TARGET_CC="$MOZ_FETCHES_DIR/clang/bin/clang -isysroot $MOZ_FETCHES_DIR/MacOSX10.11.sdk"
|
||||
cargo build --features "all" --verbose --release --target $TARGET
|
||||
else
|
||||
# We can't use the system openssl; see the sad story in
|
||||
|
|
Загрузка…
Ссылка в новой задаче