diff options
| author | LuuuXXX <luuux98@163.com> | 2025-03-05 18:23:34 +0800 |
|---|---|---|
| committer | LuuuXXX <luuux98@163.com> | 2025-03-05 19:41:05 +0800 |
| commit | 23adb46b4733a5e5962419dbd5876b7d06d51f7a (patch) | |
| tree | 23c5d8d4104a83edabda15cb63abf16faa68a921 | |
| parent | f3312609f7a9db95047196387fdd8c69edaa898e (diff) | |
| download | rust-23adb46b4733a5e5962419dbd5876b7d06d51f7a.tar.gz rust-23adb46b4733a5e5962419dbd5876b7d06d51f7a.zip | |
disable link libstdc++ statically
| -rwxr-xr-x | src/ci/run.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh index b874f71832d..205eb243843 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -113,7 +113,11 @@ export RUST_RELEASE_CHANNEL=$(releaseChannel) RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNEL" if [ "$DEPLOY$DEPLOY_ALT" = "1" ]; then - RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp" + if [[ "$CI_JOB_NAME" == *ohos* ]]; then + RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-llvm-static-stdcpp" + else + RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp" + fi RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.remap-debuginfo" if [ "$DEPLOY_ALT" != "" ] && isLinux; then |
