From 8708537079b52f3a6b04e44efeabb36cc45c0ac3 Mon Sep 17 00:00:00 2001 From: Gonzha Dmitriy Evgenevich Date: Wed, 31 May 2017 21:33:59 +0300 Subject: [PATCH] Turn off ASan build Turn off ASan in case of ASan build for u-boot, u-boot-xu3 and u-boot-rpi3 packages Change-Id: I1a3714f47eb14da53fac8a14e179d90ffa416b7f --- packaging/u-boot-rpi3.spec | 1 + packaging/u-boot-xu3.spec | 1 + packaging/u-boot.spec | 1 + 3 files changed, 3 insertions(+) diff --git a/packaging/u-boot-rpi3.spec b/packaging/u-boot-rpi3.spec index d8860b5..602c341 100644 --- a/packaging/u-boot-rpi3.spec +++ b/packaging/u-boot-rpi3.spec @@ -31,6 +31,7 @@ and modify U-Boot's environment. %setup -q -n u-boot-%{version} %build +%{?asan:/usr/bin/gcc-unforce-options} cp %{SOURCE1001} . CONFIG=rpi_3_defconfig diff --git a/packaging/u-boot-xu3.spec b/packaging/u-boot-xu3.spec index efd7d7a..dd5a444 100644 --- a/packaging/u-boot-xu3.spec +++ b/packaging/u-boot-xu3.spec @@ -47,6 +47,7 @@ and modify U-Boot's environment. %setup -q -n u-boot-%{version} %build +%{?asan:/usr/bin/gcc-unforce-options} cp %{SOURCE1001} . CONFIG=odroid-xu3_defconfig diff --git a/packaging/u-boot.spec b/packaging/u-boot.spec index 075896f..7689a6c 100644 --- a/packaging/u-boot.spec +++ b/packaging/u-boot.spec @@ -53,6 +53,7 @@ and modify U-Boot's environment. %setup -q -n %{name}-%{version} %build +%{?asan:/usr/bin/gcc-unforce-options} cp %{SOURCE1001} . CONFIG=tizen_defconfig -- 2.7.4