Turn off ASan build
authorGonzha Dmitriy Evgenevich <d.gonzha@samsung.com>
Wed, 31 May 2017 18:33:59 +0000 (21:33 +0300)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Oct 2022 04:31:38 +0000 (13:31 +0900)
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

index d8860b5..602c341 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