From 3df1396c5f8eef4cc5ada2a5e165962a007c6ef2 Mon Sep 17 00:00:00 2001 From: Denis Khalikov Date: Fri, 25 Aug 2017 16:11:14 +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: Ife910a1e666c6fcafb7ef7bfcc072d88d8549d77 Signed-off-by: Denis Khalikov Signed-off-by: Seung-Woo Kim --- packaging/linux-rpi3.spec | 1 + 1 file changed, 1 insertion(+) 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 -- 2.7.4