~rcr/rirc

ref: 2263189ab36ef17c8572f84050e2d9dbc3c23edf rirc/scripts/sanitizers_build.sh -rwxr-xr-x 424 bytes
2263189a — Richard Robbins update mbedtls version to 3.0.0 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -e

export CC=clang

export CFLAGS_DEBUG="-fsanitize=address,undefined -fno-omit-frame-pointer"
export LDFLAGS="-fsanitize=address,undefined -fuse-ld=lld"

make -e clean rirc.debug

mv rirc.debug rirc.debug.address

export CFLAGS_DEBUG="-fsanitize=thread,undefined -fno-omit-frame-pointer"
export LDFLAGS="-fsanitize=thread,undefined -fuse-ld=lld"

make -e clean rirc.debug

mv rirc.debug rirc.debug.thread