packaging: Turn off ASan build 97/151097/2
authorDmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
Fri, 15 Sep 2017 17:03:18 +0000 (20:03 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 25 Jan 2018 01:54:43 +0000 (01:54 +0000)
Currently we have no ASan support at boot time

Change-Id: I767fbb14b37c500d319a421779f222fdf926919e
Signed-off-by: Dmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
packaging/gummiboot.spec

index 21f1710..12326a3 100644 (file)
@@ -28,6 +28,7 @@ project logo and maintained in the upstream gummiboot Git tree.
 %setup -q -n %{name}-%{version}
 
 %build
+%{?asan:/usr/bin/gcc-unforce-options}
 GCC_SEARCH_PATH=$(gcc -print-search-dirs | sed -ne '/install:/s/install: //p')
 cp %{SOURCE1001} .
 %reconfigure --with-efi-libdir=/usr/lib --with-efi-ldsdir=/usr/lib