gummiboot builds with static gnu-efi. Currently we have no
ASan support on boot time, so gnu-efi with ASan leads to
unresolved dependency on build time.
This patch turns off gnu-efi build with ASan
Change-Id: Ic882ac9d7792ef86061be2c09d1b48ea9c168d83
Signed-off-by: Dmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
cp %{SOURCE1001} .
%build
+%{?asan:/usr/bin/gcc-unforce-options}
%{?ubsan:/usr/bin/gcc-unforce-options}
export CFLAGS+=" -fno-stack-protector "
export CXXFLAGS+=" -fno-stack-protector "