diff options
Diffstat (limited to 'recipes-enea')
-rw-r--r-- | recipes-enea/bitcalc/bitcalc/0001-bitcalc-disable-gcc-address-sanitizer.patch | 26 | ||||
-rw-r--r-- | recipes-enea/bitcalc/bitcalc_1.0.bb | 3 |
2 files changed, 29 insertions, 0 deletions
diff --git a/recipes-enea/bitcalc/bitcalc/0001-bitcalc-disable-gcc-address-sanitizer.patch b/recipes-enea/bitcalc/bitcalc/0001-bitcalc-disable-gcc-address-sanitizer.patch new file mode 100644 index 0000000..ce46b36 --- /dev/null +++ b/recipes-enea/bitcalc/bitcalc/0001-bitcalc-disable-gcc-address-sanitizer.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 3e5bffc92fbddcea7db901b6bcfc67051bd9defb Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Borg <martin.borg@enea.com> | ||
3 | Date: Mon, 4 Dec 2017 10:50:02 +0100 | ||
4 | Subject: [PATCH] bitcalc: disable gcc address sanitizer | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Martin Borg <martin.borg@enea.com> | ||
9 | --- | ||
10 | bitcalc/test/CMakeLists.txt | 3 --- | ||
11 | 1 file changed, 3 deletions(-) | ||
12 | |||
13 | diff --git a/bitcalc/test/CMakeLists.txt b/bitcalc/test/CMakeLists.txt | ||
14 | index cc55e52..7100d30 100644 | ||
15 | --- a/bitcalc/test/CMakeLists.txt | ||
16 | +++ b/bitcalc/test/CMakeLists.txt | ||
17 | @@ -1,6 +1,3 @@ | ||
18 | -# Add sanitizer | ||
19 | -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address") | ||
20 | - | ||
21 | # If check unit test framework is found | ||
22 | check_optional_module(CHECK check) | ||
23 | if (CHECK_FOUND) | ||
24 | -- | ||
25 | 2.7.4 | ||
26 | |||
diff --git a/recipes-enea/bitcalc/bitcalc_1.0.bb b/recipes-enea/bitcalc/bitcalc_1.0.bb index e9c677a..f5a0aad 100644 --- a/recipes-enea/bitcalc/bitcalc_1.0.bb +++ b/recipes-enea/bitcalc/bitcalc_1.0.bb | |||
@@ -16,6 +16,9 @@ SRC_URI = "git://github.com/OpenEneaLinux/rt-tools.git;branch=master \ | |||
16 | file://0001-bitcalc-resolved-memory-leaks.patch \ | 16 | file://0001-bitcalc-resolved-memory-leaks.patch \ |
17 | " | 17 | " |
18 | 18 | ||
19 | DEPENDS_remove_aarch64 = "gcc-sanitizers" | ||
20 | SRC_URI_append_aarch64 = "file://0001-bitcalc-disable-gcc-address-sanitizer.patch" | ||
21 | |||
19 | SRCREV = "9d4d1ce26b58ada516466c30e53c75c2961d6f0a" | 22 | SRCREV = "9d4d1ce26b58ada516466c30e53c75c2961d6f0a" |
20 | 23 | ||
21 | S = "${WORKDIR}/git" | 24 | S = "${WORKDIR}/git" |