ci: Fix compiling of some functions

Address sanitizer use a larger stack than normal compiled programs
making the build fails. This causes this error on GitLab CI system:

stream-device.c: In function 'stream_device_partial_read':
stream-device.c:182:1: error: the frame size of 32992 bytes is larger than 20460 bytes [-Werror=frame-larger-than=]

Allow larger stack on "makecheck" to avoid this issue.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
Frediano Ziglio 2018-03-08 12:13:05 +00:00
parent 40ef0cb625
commit e4038194be

View File

@ -11,7 +11,7 @@ before_script:
makecheck:
script:
- >
CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer'
CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer -Wframe-larger-than=40920'
LDFLAGS='-fsanitize=address -lasan'
./autogen.sh
- make