From: Gonzha Dmitriy Evgenevich Date: Wed, 31 May 2017 18:33:59 +0000 (+0300) Subject: Turn off ASan build X-Git-Tag: submit/tizen/20170607.041547^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F72%2F132172%2F3;p=platform%2Fkernel%2Fu-boot.git 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 --- diff --git a/packaging/u-boot-rpi3.spec b/packaging/u-boot-rpi3.spec index d8860b56c5..602c341f1f 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 efd7d7a6ff..dd5a444baf 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 075896fb6d..7689a6cb8e 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