From df8f4a663dbbb037201bfc240cead1bf50a6c5f0 Mon Sep 17 00:00:00 2001 From: Denis Khalikov Date: Fri, 25 Aug 2017 14:02:13 +0300 Subject: [PATCH] packaging: Disable UBSan build UBSan build on kernel will cause build error because kernel has its own sanitizer build options. So, dislable UBSan build from packaging spec. Change-Id: Ia7cccf6daf0718e6d34b0382a62edc18f02ba999 Signed-off-by: Denis Khalikov --- packaging/linux-3.18-exynos7270.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/linux-3.18-exynos7270.spec b/packaging/linux-3.18-exynos7270.spec index ded13c740c4..1a791516666 100644 --- a/packaging/linux-3.18-exynos7270.spec +++ b/packaging/linux-3.18-exynos7270.spec @@ -66,6 +66,7 @@ headers are used by the installed headers for GNU glibc and other system %build %{?asan:/usr/bin/gcc-unforce-options} +%{?ubsan:/usr/bin/gcc-unforce-options} make distclean -- 2.34.1