diff options
author | 2014-02-26 00:49:47 +0000 | |
---|---|---|
committer | 2014-02-26 00:49:47 +0000 | |
commit | cb3b1aae36346cf341a3a622a7a66bcd01d65137 (patch) | |
tree | 1aca56dff94e664f5ada570223b22f48b2a87cc1 /makefile | |
parent | e86e124aa708f788a20a7e3835d0115f63883b4d (diff) |
suppress alignment errors with SANITIZE=undefined for now (nw)
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -583,6 +583,12 @@ ifneq (,$(findstring clang,$(CC))) CCOMFLAGS += -fsanitize-memory-track-origins -fPIE endif endif +ifneq (,$(findstring undefined,$(SANITIZE))) +ifneq (,$(findstring clang,$(CC))) +# TODO: check if linker is clang++ +CCOMFLAGS += -fno-sanitize=alignment +endif +endif endif #------------------------------------------------- |