From: Oleg Ogurtsov Date: Thu, 30 Nov 2017 09:17:19 +0000 (+0300) Subject: packaging: Turn off ASan build X-Git-Tag: submit/tizen_base/20180308.000829~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F162333%2F3;p=platform%2Fupstream%2Flibelf0.git packaging: Turn off ASan build Change-Id: I1f3e494cf422f4c80694ff2880081878908b45e0 --- diff --git a/packaging/libelf0.spec b/packaging/libelf0.spec index a878445..6df46c4 100644 --- a/packaging/libelf0.spec +++ b/packaging/libelf0.spec @@ -32,6 +32,8 @@ to develop applications that require these. cp %{SOURCE1001} . %build +%{?asan:/usr/bin/gcc-unforce-options} + export LDFLAGS+=" -z relro" %configure --disable-nls make %{?_smp_mflags}