summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-02-12 15:04:36 -0800
committerBrian Behlendorf <[email protected]>2009-02-12 15:04:36 -0800
commitfce5ef8306f0413c1cede818fd6534c5b3dd1771 (patch)
tree5bd4d2dd13fbe526ea68fe570d9b50a61314a936 /configure
parentf6c5d4ff88937fd69c938e0bc6ea11ad541e0a48 (diff)
Build system update
- Added default build flags for kernel modules: -Wstrict-prototypes -Werror
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 8eaed0697..b0d5b8e58 100755
--- a/configure
+++ b/configure
@@ -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"