From: Slava Barinov Date: Fri, 11 Aug 2017 10:03:47 +0000 (+0300) Subject: Fix ASan build error for i586 X-Git-Tag: submit/tizen_base/20170906.015355^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22646d14d512e72dd675f16884d6984b537e7879;p=product%2Fupstream%2Fgzip.git 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 --- 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 -