From 158371708ee722057e8c1c68355067df02b6d2ec Mon Sep 17 00:00:00 2001 From: Andrey Kazmin Date: Thu, 11 Mar 2021 11:26:27 +0300 Subject: [PATCH] [HWASan] Unforce gcc options for hwasan build Change-Id: If4d164bcb9ed349fbf29eb324da73e869d639a62 Signed-off-by: Andrey Kazmin --- packaging/glibc.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/glibc.spec b/packaging/glibc.spec index 474d720..f83324b 100644 --- a/packaging/glibc.spec +++ b/packaging/glibc.spec @@ -40,6 +40,7 @@ # This will avoid building some parts of glibc %define asan_arch x86_64 armv7l aarch64 +%define hwasan_arch aarch64 %bcond_with fast_build Name: glibc Summary: Standard Shared Libraries (from the GNU C Library) @@ -274,6 +275,7 @@ cp %{SOURCE1001} . %build %{?asan:%gcc_unforce_options} +%{?hwasan:%gcc_unforce_options} if [ -x /bin/uname.bin ]; then /bin/uname.bin -a else -- 2.7.4