aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2007-07-16 02:41:38 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 12:05:50 -0400
commit94bed2a9c4ae980838003f5d32681eef794ecc28 (patch)
tree5f8125abe6044613db10ca59f04ad38321893a0e /Makefile
parentcc2ea416b2aa04d0c34ff2281a23dae5b76b7b3b (diff)
Add -Werror-implicit-function-declaration
Add -Werror-implicit-function-declaration This makes builds fail sooner if something is implicitly defined instead of having to wait half an hour for it to fail at the linking stage. Signed-off-by: Dave Jones <davej@redhat.com> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index de4f8f7d396c..ddbfcac299c1 100644
--- a/Makefile
+++ b/Makefile
@@ -313,7 +313,8 @@ LINUXINCLUDE := -Iinclude \
313CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE) 313CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
314 314
315CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ 315CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
316 -fno-strict-aliasing -fno-common 316 -fno-strict-aliasing -fno-common \
317 -Werror-implicit-function-declaration
317AFLAGS := -D__ASSEMBLY__ 318AFLAGS := -D__ASSEMBLY__
318 319
319# Read KERNELRELEASE from include/config/kernel.release (if it exists) 320# Read KERNELRELEASE from include/config/kernel.release (if it exists)