diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2021-12-03 10:33:57 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2021-12-03 11:09:21 +0900 |
commit | 4fde14bf137a0763cee4ca614b6cfb4520a84260 (patch) | |
tree | 263e177cb809307025e8c1c6195fd9806870ce32 | |
parent | c3d0fecd5b217408ad26af6dd46ad18510d2a88f (diff) | |
download | linux-tizen-modules-4fde14bf137a0763cee4ca614b6cfb4520a84260.tar.gz linux-tizen-modules-4fde14bf137a0763cee4ca614b6cfb4520a84260.tar.bz2 linux-tizen-modules-4fde14bf137a0763cee4ca614b6cfb4520a84260.zip |
packaging: Fix not to build with sanitizers
Add build explict flags to disable asan and ubsan sanitizers
because this is kernel module build tree.
Change-Id: I3adc3c08047313b1e8ce8bd4f15849817f45eb46
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r-- | packaging/linux-tizen-modules.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/linux-tizen-modules.spec b/packaging/linux-tizen-modules.spec index 1855be6..5c4d6fb 100644 --- a/packaging/linux-tizen-modules.spec +++ b/packaging/linux-tizen-modules.spec @@ -60,6 +60,10 @@ cp %{SOURCE1} ./%{name}.manifest cp -a /usr/src/linux-tizen-modules-source ./kernel %build +# Force not to build with sanitizers because this is kernel +%{?asan:/usr/bin/gcc-unforce-options} +%{?ubsan:/usr/bin/gcc-unforce-options} + export BUILD_logger=m export BUILD_proc_tsm=m |