]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
CI: Install libubsan1 when building with hardening enabled.
authorAlexander Hansen Færøy <ahf@torproject.org>
Tue, 18 Mar 2025 12:33:23 +0000 (13:33 +0100)
committerAlexander Hansen Færøy <ahf@torproject.org>
Wed, 19 Mar 2025 18:29:01 +0000 (19:29 +0100)
.gitlab-ci.yml

index 90f6c04e45da1b2470028d0b284968b5bcb31fe8..c9894ab45a2e50ae4410310e0cbbd046ce40c72f 100644 (file)
@@ -102,6 +102,8 @@ variables:
     - if [ "$NSS" = yes ]; then apt-get install libnss3 libnss3-dev; fi
     # llvm-symbolizer for sanitizer backtrace
     - if [ "$HARDENING" = yes ]; then apt-get install llvm; fi
+    # libubsan1 for building with -fsanitize=address
+    - if [ "$HARDENING" = yes ]; then apt-get install libubsan1; fi
     # TODO: This next line should not be debian-only.
     - if [ "$STEM" = yes ]; then git clone --depth 1 https://gitlab.torproject.org/tpo/network-health/stem.git ; export STEM_PATH="$(pwd)/stem"; fi
     # TODO: This next line should not be debian-only.