aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2021-01-21 14:04:13 -0500
committerfanquake <fanquake@gmail.com>2021-07-07 20:29:05 +0800
commit5b4703c6a70db2fa72fcace56a15db07d4b0acf1 (patch)
treeaa4564b63d2cee8e1386916594dcd3f6ce4877a0 /contrib
parent6cf3345297d371b4785d80d54e802b52ff09e8c2 (diff)
guix: Test security-check sanity before performing them
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/guix/libexec/build.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh
index 02ef800963..0b96949a6b 100755
--- a/contrib/guix/libexec/build.sh
+++ b/contrib/guix/libexec/build.sh
@@ -299,10 +299,11 @@ mkdir -p "$DISTSRC"
# Build Bitcoin Core
make --jobs="$JOBS" ${V:+V=1}
- # Perform basic ELF security checks on a series of executables.
+ # Check that symbol/security checks tools are sane.
+ make test-security-check ${V:+V=1}
+ # Perform basic security checks on a series of executables.
make -C src --jobs=1 check-security ${V:+V=1}
- # Check that executables only contain allowed gcc, glibc and libstdc++
- # version symbols for Linux distro back-compatibility.
+ # Check that executables only contain allowed version symbols.
make -C src --jobs=1 check-symbols ${V:+V=1}
mkdir -p "$OUTDIR"