Add -Werror=format-security CFLAG for all build case

This commit is contained in:
Ervin Hegedus
2024-09-03 21:50:22 +02:00
parent cddd9a7eb5
commit 38e812d197

View File

@@ -32,7 +32,7 @@ jobs:
- name: autogen.sh
run: ./autogen.sh
- name: configure ${{ matrix.configure.label }}
run: ./configure --enable-assertions ${{ matrix.configure.opt }}
run: ./configure --enable-assertions ${{ matrix.configure.opt }} 'CFLAGS=-Werror=format-security'
- uses: ammaraskar/gcc-problem-matcher@master
- name: make
run: make -j `nproc`