From: Dmitriy Evgenevich Gonzha Date: Fri, 15 Sep 2017 17:03:18 +0000 (+0300) Subject: packaging: Turn off ASan build X-Git-Tag: submit/tizen/20180125.014947~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c710794032dab8f808fcc421c93e1ddbf7c149b;p=platform%2Fupstream%2Fgummiboot.git packaging: Turn off ASan build Currently we have no ASan support at boot time Change-Id: I767fbb14b37c500d319a421779f222fdf926919e Signed-off-by: Dmitriy Evgenevich Gonzha --- diff --git a/packaging/gummiboot.spec b/packaging/gummiboot.spec index 21f1710..12326a3 100644 --- a/packaging/gummiboot.spec +++ b/packaging/gummiboot.spec @@ -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