From 0ca5a10d4f4864a6232d18078065f87c20018298 Mon Sep 17 00:00:00 2001 From: Vyacheslav Barinov Date: Mon, 20 Oct 2014 09:29:33 +0400 Subject: [PATCH] Sigstack is disabled in favour of sigaltstack. 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 --- packaging/pth.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/pth.spec b/packaging/pth.spec index 112ddd7..c42de6e 100644 --- a/packaging/pth.spec +++ b/packaging/pth.spec @@ -54,6 +54,7 @@ signal mask and errno variable. cp %{SOURCE1001} . %build +export ac_cv_func_sigstack=no autoconf %ifarch %{arm} CFLAGS="${RPM_OPT_FLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=0}" @@ -61,7 +62,7 @@ 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 \ -- 2.7.4