From: Gonzha Dmitriy Evgenevich Date: Wed, 24 May 2017 10:56:15 +0000 (+0300) Subject: packaging: Turn off building with ASan X-Git-Tag: submit/tizen/20170607.041440^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e23d9f449aba25028968e519551338b6e42aec1c;p=platform%2Fkernel%2Flinux-exynos.git packaging: Turn off building with ASan Turn off ASan for ASan sanitized firmware build Change-Id: I4df18ac8d98cf99c08a2302640e18bea82672240 Signed-off-by: Gonzha Dmitriy Evgenevich --- diff --git a/packaging/linux-exynos-tm2.spec b/packaging/linux-exynos-tm2.spec index 77b4d06bce13..a9b01a11163c 100644 --- a/packaging/linux-exynos-tm2.spec +++ b/packaging/linux-exynos-tm2.spec @@ -81,6 +81,7 @@ headers are used by the installed headers for GNU glibc and other system %setup -q -n linux-kernel-%{version} %build +%{?asan:/usr/bin/gcc-unforce-options} # Make sure EXTRAVERSION says what we want it to say sed -i "s/^EXTRAVERSION.*/EXTRAVERSION = -%{variant}/" Makefile diff --git a/packaging/odroid-linux-kernel.spec b/packaging/odroid-linux-kernel.spec index 74198289646c..54a77cf8ae17 100644 --- a/packaging/odroid-linux-kernel.spec +++ b/packaging/odroid-linux-kernel.spec @@ -50,6 +50,7 @@ Kernel-modules includes the loadable kernel modules(.ko files) for %{target_boar %setup -q -n linux-kernel-%{version} %build +%{?asan:/usr/bin/gcc-unforce-options} # Make sure EXTRAVERSION says what we want it to say sed -i "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}-%{variant}/" Makefile