Set up stack overflow checks values sandbox/vbarinov/asan
authorSlava Barinov <v.barinov@samsung.com>
Wed, 4 May 2016 12:12:04 +0000 (15:12 +0300)
committerSlava Barinov <v.barinov@samsung.com>
Wed, 4 May 2016 12:12:04 +0000 (15:12 +0300)
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>
packaging/m4.spec

index 5f98532..d73dcfc 100644 (file)
@@ -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}/*/*
-