From: Denis Khalikov Date: Fri, 25 Aug 2017 13:11:14 +0000 (+0300) Subject: packaging: Disable UBSan build X-Git-Tag: submit/tizen/20170828.023313^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7c926fa2d1a27d3d344912d03e0b3722e614272;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-arm64.spec b/packaging/linux-rpi3-arm64.spec index 0d54083df631..5fdebb965334 100644 --- a/packaging/linux-rpi3-arm64.spec +++ b/packaging/linux-rpi3-arm64.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