From 5c710794032dab8f808fcc421c93e1ddbf7c149b Mon Sep 17 00:00:00 2001 From: Dmitriy Evgenevich Gonzha Date: Fri, 15 Sep 2017 20:03:18 +0300 Subject: [PATCH] packaging: Turn off ASan build Currently we have no ASan support at boot time Change-Id: I767fbb14b37c500d319a421779f222fdf926919e Signed-off-by: Dmitriy Evgenevich Gonzha --- packaging/gummiboot.spec | 1 + 1 file changed, 1 insertion(+) 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 -- 2.7.4