summaryrefslogtreecommitdiffstats
path: root/recipes-enea/bitcalc/bitcalc/0001-bitcalc-disable-gcc-address-sanitizer.patch
blob: ce46b3685722e0efa71abefd24d89926464ff13e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 3e5bffc92fbddcea7db901b6bcfc67051bd9defb Mon Sep 17 00:00:00 2001
From: Martin Borg <martin.borg@enea.com>
Date: Mon, 4 Dec 2017 10:50:02 +0100
Subject: [PATCH] bitcalc: disable gcc address sanitizer

Upstream-Status: Pending

Signed-off-by: Martin Borg <martin.borg@enea.com>
---
 bitcalc/test/CMakeLists.txt | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/bitcalc/test/CMakeLists.txt b/bitcalc/test/CMakeLists.txt
index cc55e52..7100d30 100644
--- a/bitcalc/test/CMakeLists.txt
+++ b/bitcalc/test/CMakeLists.txt
@@ -1,6 +1,3 @@
-# Add sanitizer
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address")
-
 # If check unit test framework is found
 check_optional_module(CHECK check)
 if (CHECK_FOUND)
-- 
2.7.4