packaging: Turn off building with ASan 14/130914/2 accepted/tizen/unified/20170609.054034 submit/tizen/20170607.041440
authorGonzha Dmitriy Evgenevich <d.gonzha@samsung.com>
Wed, 24 May 2017 10:56:15 +0000 (13:56 +0300)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 30 May 2017 08:28:06 +0000 (08:28 +0000)
Turn off ASan for ASan sanitized firmware build

Change-Id: I4df18ac8d98cf99c08a2302640e18bea82672240
Signed-off-by: Gonzha Dmitriy Evgenevich <d.gonzha@samsung.com>
packaging/linux-exynos-tm2.spec
packaging/odroid-linux-kernel.spec

index 77b4d06bce130fae985c95f09a7a6fb7eada9012..a9b01a11163cbfa723f28560a1c26096aa76d858 100644 (file)
@@ -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
 
index 74198289646cc906b2fed7761de28abe044aa861..54a77cf8ae174e8f8bf3baf5d10d3ca105306e03 100644 (file)
@@ -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