ci: use _FORTIFY_SOURCE=3 for smoke test

This enables additional compile-time and runtime checks.
This commit is contained in:
Simon Ser 2024-07-10 20:04:04 +02:00 committed by Simon Zeni
parent 3103ea3af9
commit 1bf04cd74a

View file

@ -26,7 +26,7 @@ sources:
tasks:
- setup: |
cd wlroots
CC=gcc meson setup build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr -Db_sanitize=address,undefined
CC=gcc meson setup build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr -Dbuildtype=debugoptimized -Db_sanitize=address,undefined -Dc_args=-D_FORTIFY_SOURCE=3
CC=clang meson setup build-clang --fatal-meson-warnings -Dauto_features=enabled -Dc_std=c11
- gcc: |
cd wlroots/build-gcc