In some gcc-9 version, build with -O3 has build issue and in
Tizen gcc, specifically for asan build. Do debug build to change
from -O3 to -O0 to fix the issue for asan build.
Change-Id: Ieb254fd4e07e98f7473f77cf5f0ce38040702ed4
Ref: https://github.com/ARM-software/ComputeLibrary/issues/878
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
(cherry picked from commit
68f8490cad3979c39d28eaf8736fa08b55ef6045)
# but to use native 'ar' and 'ranlib' without any prefix.
scons -j8 \
Werror=0 \
- debug=0 \
+%if 0%{?asan}
+ debug=1 \
+%else
+ debug=0 \
+%endif
%if 0%{?NEON_SUPPORT} == 1
neon=1 \
%endif # NEON_SUPPORT