packaging: Disable UBSan build 55/146255/2 accepted/tizen/unified/20170828.164514 submit/tizen/20170828.023313
authorDenis Khalikov <d.khalikov@partner.samsung.com>
Fri, 25 Aug 2017 11:02:13 +0000 (14:02 +0300)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 28 Aug 2017 00:30:54 +0000 (00:30 +0000)
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 <d.khalikov@partner.samsung.com>
packaging/linux-3.18-exynos7270.spec

index ded13c740c4926fd654484dbbe0fc8cfe6a951f1..1a791516666cec0822453c2c43fb962f67dc32d1 100644 (file)
@@ -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