diff options
Diffstat (limited to 'extra/source/rust-for-mozilla/rust.SlackBuild')
-rwxr-xr-x | extra/source/rust-for-mozilla/rust.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/source/rust-for-mozilla/rust.SlackBuild b/extra/source/rust-for-mozilla/rust.SlackBuild index 58d6601ac..a3737776a 100755 --- a/extra/source/rust-for-mozilla/rust.SlackBuild +++ b/extra/source/rust-for-mozilla/rust.SlackBuild @@ -142,6 +142,9 @@ if [ "${SYSTEM_LLVM}" = "YES" ]; then zcat $CWD/link_libffi.diff.gz | patch -p1 --verbose || exit 1 fi +# Fix build with glibc-2.36: +zcat $CWD/llvm.sanitizer_platform_limits_posix.cpp.glibc-2.36.diff.gz | patch -p1 --verbose || exit 1 + if [ "$LOCAL_BOOTSTRAP" != "yes" ] ; then # rust requires bootstrapping with the previous rust version. # versions are defined in src/stage0.txt. |