[gnome-builder] build: ignore some common ASAN options that fail



commit 3bbbeed07d9923bf1cd76b54b8178fc2a690bba2
Author: Christian Hergert <chergert redhat com>
Date:   Wed Oct 12 16:19:08 2016 -0700

    build: ignore some common ASAN options that fail
    
    Clang sets this off, so we can just skip it when -fsanitize=address.

 Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a26c115..68a081d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -61,6 +61,7 @@ dist-hook:
 RUNTIME_TYPELIB_PATH = libide:contrib/egg:contrib/pnl:contrib/tmpl:$(GI_TYPELIB_PATH)
 
 run:
+       ASAN_OPTIONS=alloc_dealloc_mismatch=0 \
        PEAS_DEBUG=1 \
        GB_IN_TREE_PLUGINS=1 \
        GB_IN_TREE_FONTS=1 \
@@ -83,6 +84,7 @@ strace:
        $(LIBTOOL) --mode=execute strace -T src/gnome-builder -vvvv -s
 
 debug:
+       ASAN_OPTIONS=alloc_dealloc_mismatch=0 \
        G_SLICE=always-malloc \
        PEAS_DEBUG=1 \
        GB_IN_TREE_PLUGINS=1 \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]