summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2016-05-04 15:12:04 +0300
committerSlava Barinov <v.barinov@samsung.com>2016-05-04 15:12:04 +0300
commitc8e026d1ac0b6541ead6a40731cf6b6ffeaaa44a (patch)
treec6226e52e662af816a971ebbfc3cfe5660ded20b /packaging
parentaef22fe0fe2ec8836b2d851998d9a696837c3e01 (diff)
downloadm4-c8e026d1ac0b6541ead6a40731cf6b6ffeaaa44a.tar.gz
m4-c8e026d1ac0b6541ead6a40731cf6b6ffeaaa44a.tar.bz2
m4-c8e026d1ac0b6541ead6a40731cf6b6ffeaaa44a.zip
Set up stack overflow checks valuessandbox/vbarinov/asan
The check dies because ASan captures stack overflow and configure does not expect the output. Change-Id: I6136a68affbae91c89b93ad7b12c58ed00551782 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/m4.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/m4.spec b/packaging/m4.spec
index 5f98532..d73dcfc 100644
--- a/packaging/m4.spec
+++ b/packaging/m4.spec
@@ -21,7 +21,10 @@ cp %{SOURCE1001} .
%configure \
--without-included-regex \
gl_cv_func_isnanl_works=yes \
- gl_cv_func_printf_directive_n=yes
+ gl_cv_func_printf_directive_n=yes \
+ ac_cv_sys_stack_overflow_works=yes \
+ ac_cv_sys_xsi_stack_overflow_heuristic=yes
+
make %{?_smp_mflags}
%check
@@ -37,4 +40,3 @@ make %{?_smp_mflags} check || true
%{_bindir}/*
%doc %{_infodir}/*.gz
%{_mandir}/*/*
-