Commit f1286f1
committed
config/options: add support for using sanitizer in debug builds
This allows enabling eg the address or leak sanitizer.
Usually both CFLAGS and LDFLAGS need to be set to the same
value and often it's advisable to set additions options
like -fstack-protector-strong or -fno-omit-frame-pointer.
DEBUG_SANITIZER_FLAGS sets both DEBUG_SANITIZER_CFLAGS and
DEBUG_SANITIZER_LDFLAGS to the same value.
Signed-off-by: Matthias Reichl <hias@horus.com>1 parent b32f076 commit f1286f1
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
152 | 170 | | |
153 | 171 | | |
154 | 172 | | |
| |||
0 commit comments