packaging: Turn off ASan build to fix gummiboot build 96/151096/2 tizen submit/tizen/20180125.014947
authorDmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
Tue, 19 Sep 2017 16:39:45 +0000 (19:39 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 25 Jan 2018 01:48:16 +0000 (10:48 +0900)
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>
packaging/gnu-efi.spec

index 5666a24..fa054cf 100644 (file)
@@ -18,6 +18,7 @@ gnu-efi is a library for building EFI applications
 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 "