Chromium Code Reviews| Index: Makefile.standalone |
| diff --git a/Makefile.standalone b/Makefile.standalone |
| index 0210ed4f1a3d93364d077835c4c195d4105c091c..156f05d733a744badb677449a81ee68249e77f54 100644 |
| --- a/Makefile.standalone |
| +++ b/Makefile.standalone |
| @@ -96,6 +96,12 @@ else |
| OBJDIR := $(OBJDIR)+Asserts |
| endif |
| +ifdef UBSAN |
| + OBJDIR := $(OBJDIR)+UBSan |
| + CXX_EXTRA += -fsanitize=undefined -fno-sanitize=vptr |
| + LD_EXTRA += -fsanitize=undefined |
| +endif |
| + |
| ifdef TSAN |
| OBJDIR := $(OBJDIR)+TSan |
| CXX_EXTRA += -fsanitize=thread |