aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2021-12-23 12:59:35 -0600
committerEric Biggers <ebiggers@google.com>2021-12-23 12:59:35 -0600
commitf4e213f13da4436e720246d9f93e007b0e20aff8 (patch)
treed61972004691155b264eb2925a4c3d903784232f
parent7d688009e9d2770e1fb83b75eae377f69fbe055b (diff)
downloadfsverity-utils-f4e213f13da4436e720246d9f93e007b0e20aff8.tar.gz
run-tests.sh: make CFI test work on Ubuntu 20.04
Signed-off-by: Eric Biggers <ebiggers@google.com>
-rwxr-xr-xscripts/run-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index 63bbf9a..db73d01 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -199,7 +199,7 @@ sanitizers_test()
log "Build and test with clang + CFI"
$MAKE CC=clang CFLAGS="-O2 -Werror -fsanitize=cfi -flto -fvisibility=hidden" \
- check
+ AR=llvm-ar check
}
TEST_FUNCS+=(sanitizers_test)