diff options
author | Denis Khalikov <d.khalikov@partner.samsung.com> | 2017-08-25 16:11:14 +0300 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2017-08-28 10:08:57 +0900 |
commit | 74fac3dd7825307f11ec3ab5a99c8790b4270ca3 (patch) | |
tree | 601c70add4e4cea9d93d5d6308f7bfa2c2977a18 | |
parent | 7befd9085999a07113cc159508f0b550b4906de0 (diff) | |
download | linux-exynos-accepted/tizen/unified/20170828.164523.tar.gz linux-exynos-accepted/tizen/unified/20170828.164523.tar.bz2 linux-exynos-accepted/tizen/unified/20170828.164523.zip |
packaging: Disable UBSan buildsubmit/tizen/20170828.023313accepted/tizen/unified/20170828.164523
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: Ie06197677c9949eb8ed9537af6fc366d20d3a000
Signed-off-by: Denis Khalikov <d.khalikov@partner.samsung.com>
-rw-r--r-- | packaging/linux-exynos-tm2.spec | 2 | ||||
-rw-r--r-- | packaging/odroid-linux-kernel.spec | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/packaging/linux-exynos-tm2.spec b/packaging/linux-exynos-tm2.spec index 2f14674ae7c8..4934ee41551b 100644 --- a/packaging/linux-exynos-tm2.spec +++ b/packaging/linux-exynos-tm2.spec @@ -82,6 +82,8 @@ 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 sure EXTRAVERSION says what we want it to say sed -i "s/^EXTRAVERSION.*/EXTRAVERSION = -%{variant}/" Makefile diff --git a/packaging/odroid-linux-kernel.spec b/packaging/odroid-linux-kernel.spec index b6bc5eae35ab..5b459e4d871d 100644 --- a/packaging/odroid-linux-kernel.spec +++ b/packaging/odroid-linux-kernel.spec @@ -61,6 +61,8 @@ This package provides kernel map and etc information for odroid kernel. %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 = -%{release}-%{variant}/" Makefile |