1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-11-27 11:14:42 -05:00

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