From 22646d14d512e72dd675f16884d6984b537e7879 Mon Sep 17 00:00:00 2001 From: Slava Barinov Date: Fri, 11 Aug 2017 13:03:47 +0300 Subject: [PATCH] Fix ASan build error for i586 ASan build for i586 detects compiler options wrong and fails build. Change-Id: Iaf11658d1e94b6816ae12e65f28b84d24d2b746e Signed-off-by: Slava Barinov --- packaging/gzip.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/gzip.spec b/packaging/gzip.spec index 4b129ed..7367035 100644 --- a/packaging/gzip.spec +++ b/packaging/gzip.spec @@ -26,7 +26,8 @@ CFLAGS+=" -fPIE" LDFLAGS+=" -pie" %configure \ - --bindir=%{_bindir} + --bindir=%{_bindir} \ + %{?asan:gzip_cv_underline=no} make %{?_smp_mflags} @@ -53,4 +54,3 @@ make %{?_smp_mflags} %{_bindir}/zcat %{_bindir}/uncompress %{_bindir}/zless - -- 2.34.1