summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2021-07-20 12:07:15 -0400
committerZack Weinberg <zackw@panix.com>2021-07-22 11:21:16 -0400
commit139f458f05c1289fe055b1c50483c97e98ee5b71 (patch)
tree45e056742e6703c99f97646d9e4172f2c5c9b1a3 /build-aux
parent66d8342f80155202030ebf2974e2dcba4e297baf (diff)
downloadlibxcrypt-139f458f05c1289fe055b1c50483c97e98ee5b71.tar.gz
libxcrypt-139f458f05c1289fe055b1c50483c97e98ee5b71.tar.bz2
libxcrypt-139f458f05c1289fe055b1c50483c97e98ee5b71.zip
CI: Add workflow to run testsuite under memory checkers.
This tests four configurations: (GCC, Clang) x (Valgrind, ASan+UBSan), all with everything enabled.
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/configure-wrapper3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/configure-wrapper b/build-aux/configure-wrapper
index 089f25d..bfb06d2 100755
--- a/build-aux/configure-wrapper
+++ b/build-aux/configure-wrapper
@@ -1,6 +1,7 @@
#!/bin/bash
-export DEB_BUILD_MAINT_OPTIONS="hardening=+all"
+export DEB_BUILD_MAINT_OPTIONS="${DEB_BUILD_MAINT_OPTIONS:-hardening=+all}"
+
export CPPFLAGS="${CPPFLAGS} $(dpkg-buildflags --get CPPFLAGS)"
export CFLAGS="${CFLAGS} $(dpkg-buildflags --get CFLAGS)"
export CXXFLAGS="${CXXFLAGS} $(dpkg-buildflags --get CXXFLAGS)"