We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66d0309 commit 44247feCopy full SHA for 44247fe
1 file changed
build.c
@@ -74,8 +74,8 @@ int main(int argc, char **argv) {
74
75
// WITH_ASAN builds with sanitizers
76
if (env_is("WITH_ASAN", "1")) {
77
- strcat(CXXFLAGS, " -fsanitize=address -g");
78
- strcat(LDFLAGS, " -lasan");
+ strcat(CXXFLAGS, " -fsanitize=address,undefined -g");
+ strcat(LDFLAGS, " -lasan -lubsan");
79
}
80
81
if (!strcmp(argv[1], "examples")) {
0 commit comments