Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 23adb46

Browse files
committedMar 5, 2025
disable link libstdc++ statically
1 parent f331260 commit 23adb46

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/ci/run.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@ export RUST_RELEASE_CHANNEL=$(releaseChannel)
113113
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNEL"
114114

115115
if [ "$DEPLOY$DEPLOY_ALT" = "1" ]; then
116-
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"
116+
if [[ "$CI_JOB_NAME" == *ohos* ]]; then
117+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-llvm-static-stdcpp"
118+
else
119+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"
120+
fi
117121
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.remap-debuginfo"
118122

119123
if [ "$DEPLOY_ALT" != "" ] && isLinux; then

0 commit comments

Comments
 (0)
Failed to load comments.