From 8efb752f8352ebebe4a2e52bfc62e451d2a30370 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 9 Jun 2024 15:29:51 -0300 Subject: etc/sh/rc: Add -fsanitize=undefined to $LDFLAGS --- etc/sh/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/sh/rc') diff --git a/etc/sh/rc b/etc/sh/rc index a2d801d..c9ae6cc 100644 --- a/etc/sh/rc +++ b/etc/sh/rc @@ -144,12 +144,12 @@ export CCFLAGS=' -Wundef -Wdouble-promotion -fsanitize=undefined - -fsanitize-trap + -fsanitize-trap=all -Werror -Wvla ' CCFLAGS="$(printf '%s\n' "$CCFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')" -LLDFLAGS='-static' +LLDFLAGS='-static -fsanitize=undefined' export LDFLAGS="$LLDFLAGS" export CFLAGS="$CCFLAGS" export LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS=1 -- cgit v1.2.3