mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Build system update
- Added default build flags for kernel modules: -Wstrict-prototypes -Werror
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user