mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-05 02:08:00 +00:00
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:
parent
40ef0cb625
commit
e4038194be
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user