Some objects are forced to build with unwind tables by glibc build system
to support exceptions and when some objects are built without them tables become
malformed and cause SIGSEGV inside libgcc unwinding function.
Change-Id: I8e59cca874dfc6c17c344bd3d972d3b7e0f0163a
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
local addons="$1"; shift
mkdir "cc-$dirname"
cd "cc-$dirname"
-%ifarch %arm aarch64
- # remove asynchronous-unwind-tables during configure as it causes
- # some checks to fail spuriously on arm
- conf_cflags="${cflags/-fasynchronous-unwind-tables/}"
- conf_cflags="${conf_cflags/-funwind-tables/}"
-%else
- conf_cflags="$cflags"
-%endif
+ conf_cflags="$cflags -fasynchronous-unwind-tables"
profile="--disable-profile"
%if %{build_profile}