Fix warnings

This commit is contained in:
Alex Kotov 2022-01-11 14:33:21 +05:00
parent 603ba7bfc3
commit 6f4190ed8d
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 2 additions and 6 deletions

View File

@ -15,11 +15,6 @@ jobs:
opt: ['', '-O0', '-O3']
assert: ['--enable-assert', '--disable-assert']
guard: ['--enable-guard', '--disable-guard']
werror:
- cflag: '-Werror'
mb2: '--without-multiboot2'
- cflag: ''
mb2: '--with-multiboot2'
steps:
- uses: actions/checkout@v2
- name: dependencies
@ -27,7 +22,7 @@ jobs:
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure ${{matrix.assert}} ${{matrix.guard}} ${{matrix.werror.mb2}} CC='${{matrix.cc}}' CFLAGS='${{matrix.opt}} ${{matrix.werror.cflag}}'
run: ./configure ${{matrix.assert}} ${{matrix.guard}} CC='${{matrix.cc}}' CFLAGS='${{matrix.opt}}'
- name: make
run: make
- name: check

View File

@ -5,6 +5,7 @@ AM_CFLAGS = \
-pedantic \
-Wall \
-Wextra \
-Wno-cast-function-type \
-I$(top_srcdir)/include
lib_LIBRARIES = libkernaux.a