sigaltstack() supersedes the older sigstack() call. For backwards
compatibility, glibc also provides sigstack(). All new applications
should be written using sigaltstack().
Change-Id: I8ba9c677463d58085b1491161d8c6bfb6c4554f0
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
cp %{SOURCE1001} .
%build
+export ac_cv_func_sigstack=no
autoconf
%ifarch %{arm}
CFLAGS="${RPM_OPT_FLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=0}"
%configure --disable-static --with-pic \
%ifarch %arm
- --with-mctx-mth=sjlj --with-mctx-dsp=sjlj --with-mctx-stk=ss \
+ --with-mctx-mth=sjlj --with-mctx-dsp=sjlj --with-mctx-stk=sas \
%endif
--enable-optimize=yes \
--enable-pthread=no \