Always build with non-asan not only i586 but also all other
architectures. Otherwise, llvm build will be failed from below:
/home/abuild/rpmbuild/BUILD/llvm-10.0.0/compiler-rt/lib/asan/asan_internal.h:24:3: error: #error "The AddressSanitizer run-time should not be"
24 | # error "The AddressSanitizer run-time should not be"
25 | " instrumented by AddressSanitizer"
Change-Id: I3189246d5c6ed63760b7c2699dcfd830c5b4bce6
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
%endif
cp %{SOURCE1001} .
-%ifarch %ix86
%{?asan:%gcc_unforce_options}
-%endif
%ifarch armv7l armv7hl aarch64
CPP_INCLUDE_PATHS=$(cpp -xc++ -v < /dev/null 2>&1 | \