From: Denis Khalikov Date: Fri, 25 Aug 2017 13:11:14 +0000 (+0300) Subject: packaging: Disable UBSan build X-Git-Tag: accepted/tizen/unified/20190614.051536~140 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3df1396c5f8eef4cc5ada2a5e165962a007c6ef2;p=platform%2Fkernel%2Flinux-rpi3.git 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: Ife910a1e666c6fcafb7ef7bfcc072d88d8549d77 Signed-off-by: Denis Khalikov Signed-off-by: Seung-Woo Kim --- diff --git a/packaging/linux-rpi3.spec b/packaging/linux-rpi3.spec index adb9979..0019e91 100644 --- a/packaging/linux-rpi3.spec +++ b/packaging/linux-rpi3.spec @@ -58,6 +58,7 @@ This package provides kernel map and etc information. %build %{?asan:/usr/bin/gcc-unforce-options} +%{?ubsan:/usr/bin/gcc-unforce-options} # Make sure EXTRAVERSION says what we want it to say sed -i "s/^EXTRAVERSION.*/EXTRAVERSION = -%{variant}/" Makefile