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
No known key found for this signature in database
GPG Key ID: 5FA5BC3F5EC41F61

View File

@ -32,7 +32,7 @@ jobs:
- name: autogen.sh - name: autogen.sh
run: ./autogen.sh run: ./autogen.sh
- name: configure ${{ matrix.configure.label }} - 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 - uses: ammaraskar/gcc-problem-matcher@master
- name: make - name: make
run: make -j `nproc` run: make -j `nproc`