mirror of
https://github.com/tailix/libkernaux.git
synced 2025-08-07 22:04:16 -04:00
Fix warnings
This commit is contained in:
parent
603ba7bfc3
commit
6f4190ed8d
2 changed files with 2 additions and 6 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -15,11 +15,6 @@ jobs:
|
||||||
opt: ['', '-O0', '-O3']
|
opt: ['', '-O0', '-O3']
|
||||||
assert: ['--enable-assert', '--disable-assert']
|
assert: ['--enable-assert', '--disable-assert']
|
||||||
guard: ['--enable-guard', '--disable-guard']
|
guard: ['--enable-guard', '--disable-guard']
|
||||||
werror:
|
|
||||||
- cflag: '-Werror'
|
|
||||||
mb2: '--without-multiboot2'
|
|
||||||
- cflag: ''
|
|
||||||
mb2: '--with-multiboot2'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
|
@ -27,7 +22,7 @@ jobs:
|
||||||
- name: autogen
|
- name: autogen
|
||||||
run: ./autogen.sh
|
run: ./autogen.sh
|
||||||
- name: configure
|
- 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
|
- name: make
|
||||||
run: make
|
run: make
|
||||||
- name: check
|
- name: check
|
||||||
|
|
|
@ -5,6 +5,7 @@ AM_CFLAGS = \
|
||||||
-pedantic \
|
-pedantic \
|
||||||
-Wall \
|
-Wall \
|
||||||
-Wextra \
|
-Wextra \
|
||||||
|
-Wno-cast-function-type \
|
||||||
-I$(top_srcdir)/include
|
-I$(top_srcdir)/include
|
||||||
|
|
||||||
lib_LIBRARIES = libkernaux.a
|
lib_LIBRARIES = libkernaux.a
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue