Turn off ASan build 72/132172/3 accepted/tizen/unified/20170609.054127 submit/tizen/20170607.041547
authorGonzha Dmitriy Evgenevich <d.gonzha@samsung.com>
Wed, 31 May 2017 18:33:59 +0000 (21:33 +0300)
committerGonzha Dmitriy Evgenevich <d.gonzha@samsung.com>
Mon, 5 Jun 2017 19:10:11 +0000 (22:10 +0300)
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
packaging/u-boot-xu3.spec
packaging/u-boot.spec

index d8860b56c5f9d76812a7cf9303b00c0328708d1c..602c341f1f4662e60f938056848496c8e859bfaa 100644 (file)
@@ -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
index efd7d7a6ff223417f2ce1db4b16cb84ae1b4579f..dd5a444baf2cc277769f4e237ebcd4466de8a856 100644 (file)
@@ -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
index 075896fb6d758eb8c17ad79bc9c0f246a20a6527..7689a6cb8e4a566e56c28ffaebd084168478abb1 100644 (file)
@@ -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