mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
Build system update
- Added default build flags for kernel modules: -Wstrict-prototypes -Werror
This commit is contained in:
parent
f6c5d4ff88
commit
fce5ef8306
1
configure
vendored
1
configure
vendored
@ -20642,6 +20642,7 @@ TOPDIR=`/bin/pwd`
|
||||
# Add "V=1" to KERNELMAKE_PARAMS to enable verbose module build
|
||||
KERNELMAKE_PARAMS=
|
||||
KERNELCPPFLAGS="${KERNELCPPFLAGS} -I$TOPDIR -I$TOPDIR/include"
|
||||
KERNELCPPFLAGS="${KERNELCPPFLAGS} -Wstrict-prototypes -Werror"
|
||||
|
||||
if test "${LINUX_OBJ}" != "${LINUX}"; then
|
||||
KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$kernelbuild"
|
||||
|
@ -79,7 +79,7 @@ TOPDIR=`/bin/pwd`
|
||||
# Add "V=1" to KERNELMAKE_PARAMS to enable verbose module build
|
||||
KERNELMAKE_PARAMS=
|
||||
KERNELCPPFLAGS="${KERNELCPPFLAGS} -I$TOPDIR -I$TOPDIR/include"
|
||||
KERNELCPPFLAGS="${KERNELCPPFLAGS} -Wstrict-prototypes -Werror -Wshadow"
|
||||
KERNELCPPFLAGS="${KERNELCPPFLAGS} -Wstrict-prototypes -Werror"
|
||||
|
||||
if test "${LINUX_OBJ}" != "${LINUX}"; then
|
||||
KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$kernelbuild"
|
||||
|
Loading…
Reference in New Issue
Block a user