mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-12-03 21:26:55 +07:00
Add more warning flags
This commit is contained in:
parent
6fc20bbfee
commit
e7d903696a
@ -2,12 +2,17 @@
|
|||||||
|
|
||||||
autoreconf --install --symlink
|
autoreconf --install --symlink
|
||||||
|
|
||||||
MYCFLAGS="-g -Wall \
|
MYCFLAGS="-g -Wall -Wextra \
|
||||||
-Wmissing-declarations -Wmissing-prototypes \
|
-Wmissing-declarations -Wmissing-prototypes \
|
||||||
-Wnested-externs -Wpointer-arith \
|
-Wnested-externs -Wpointer-arith \
|
||||||
-Wpointer-arith -Wsign-compare -Wchar-subscripts \
|
-Wpointer-arith -Wsign-compare -Wchar-subscripts \
|
||||||
-Wstrict-prototypes -Wshadow \
|
-Wstrict-prototypes -Wshadow \
|
||||||
-Wformat-security -Wtype-limits"
|
-Wformat-security -Wtype-limits \
|
||||||
|
-Wformat=2 -Wuninitialized -Winit-self -Wundef \
|
||||||
|
-Wmissing-include-dirs -Wold-style-definition \
|
||||||
|
-Wfloat-equal -Wredundant-decls -Wendif-labels \
|
||||||
|
-Wcast-align -Wstrict-aliasing -Wwrite-strings \
|
||||||
|
-Wno-unused-parameter"
|
||||||
|
|
||||||
libdir() {
|
libdir() {
|
||||||
echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
|
echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
|
||||||
|
Loading…
Reference in New Issue
Block a user