packaging: Disable UBSan build 92/146292/1 accepted/tizen/unified/20170828.164526 submit/tizen/20170828.023313
authorDenis Khalikov <d.khalikov@partner.samsung.com>
Fri, 25 Aug 2017 13:11:14 +0000 (16:11 +0300)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 28 Aug 2017 01:23:40 +0000 (10:23 +0900)
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 <d.khalikov@partner.samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
packaging/linux-rpi3-arm64.spec

index 0d54083df6316b9c63277fbc110c1e6584923b79..5fdebb965334d9f76ec5a105c5a1e253c71b730f 100644 (file)
@@ -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