summaryrefslogtreecommitdiffstats
path: root/.github/configs
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-07-12 12:54:24 +1000
committerDarren Tucker <dtucker@dtucker.net>2022-07-12 12:54:24 +1000
commitfb2f3a61bf3d28fff285524535f7ffcd177c9235 (patch)
treeef30edc87a4c856a2e3de22659f821e20697192b /.github/configs
parentc483a5c0fb8e8b8915fad85c5f6113386a4341ca (diff)
Move unset to before we set anything.
Diffstat (limited to '.github/configs')
-rwxr-xr-x.github/configs5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/configs b/.github/configs
index 0308ca6c..48070ee7 100755
--- a/.github/configs
+++ b/.github/configs
@@ -10,6 +10,8 @@
config=$1
+unset CC CFLAGS CPPFLAGS LDFLAGS LTESTS SUDO
+
TEST_TARGET="tests"
LTESTS=""
SKIP_LTESTS=""
@@ -17,7 +19,6 @@ SUDO=sudo # run with sudo by default
TEST_SSH_UNSAFE_PERMISSIONS=1
# Stop on first test failure to minimize logs
TEST_SSH_FAIL_FATAL=yes
-unset CC CFLAGS CPPFLAGS LDFLAGS LTESTS SUDO
CONFIGFLAGS=""
LIBCRYPTOFLAGS=""
@@ -72,7 +73,7 @@ case "$config" in
TEST_TARGET="t-exec"
;;
clang-sanitize-memory)
- CFLAGS="-fsanitize=memory -fsanitize-memory-track-origins"
+ CFLAGS="-fsanitize=memory -fsanitize-memory-track-origins -fno-omit-frame-pointer"
LDFLAGS="-fsanitize=memory"
CPPFLAGS='-Dchroot=chdir -Dexplicit_bzero=bzero -DMSAN_OPTIONS=\"log_path='$SANLOGS'/msan.log\"'
CONFIGFLAGS="--without-openssl --without-zlib --without-shadow"