Skip to content

Commit f1eb9e2

Browse files
committed
fix
1 parent fc7c1c3 commit f1eb9e2

2 files changed

Lines changed: 3 additions & 20 deletions

File tree

webrtc-sys/libwebrtc/build_linux.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ cd libyuv
103103

104104
git apply "$COMMAND_DIR/patches/disable_sme_for_libyuv.patch" -v --ignore-space-change --ignore-whitespace --whitespace=nowarn
105105

106-
cd ../abseil-cpp
107-
108-
git apply "$COMMAND_DIR/patches/absl_add_x86gprintrin_define.patch" -v --ignore-space-change --ignore-whitespace --whitespace=nowarn
109-
110106
cd ../../..
111107

112108
mkdir -p "$ARTIFACTS_DIR/lib"
@@ -118,6 +114,8 @@ if [ "$profile" = "debug" ]; then
118114
debug="true"
119115
fi
120116

117+
./upgrade_sysroot_libstdcxx.sh --arch "$arch"
118+
121119
# Note: use_clang_modules=false is required to avoid C++ module compilation issues.
122120
# Without this flag, the build may fail partway through, resulting in missing
123121
# or incomplete artifacts.
@@ -142,6 +140,7 @@ args="is_debug=$debug \
142140
use_llvm_libatomic=false \
143141
use_custom_libcxx=false \
144142
use_custom_libcxx_for_host=false \
143+
use_sysroot=true \
145144
is_clang=false \
146145
use_clang_modules=false \
147146
rtc_include_tests=false \

webrtc-sys/libwebrtc/patches/absl_add_x86gprintrin_define.patch

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)