summaryrefslogtreecommitdiffstats
path: root/arch/sh/lib
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-06 09:35:12 +0100
committerPaul Mundt <lethal@linux-sh.org>2007-11-07 03:13:55 +0100
commit98366c20a275e957416e9516db5dcb7195b4e101 (patch)
tree271acfbea8ac50b313a27158541587d262fe8885 /arch/sh/lib
parentsh: Fix up kgdb build with modular sh-sci. (diff)
downloadlinux-98366c20a275e957416e9516db5dcb7195b4e101.tar.xz
linux-98366c20a275e957416e9516db5dcb7195b4e101.zip
sh: Add -Werror for clean directories.
Follow the MIPS and sparc64 changes for -Werror instrumentation. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/lib')
-rw-r--r--arch/sh/lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/lib/Makefile b/arch/sh/lib/Makefile
index e23dd1a3fccd..9dc7b6985052 100644
--- a/arch/sh/lib/Makefile
+++ b/arch/sh/lib/Makefile
@@ -9,3 +9,5 @@ memcpy-y := memcpy.o
memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o
lib-y += $(memcpy-y)
+
+EXTRA_CFLAGS += -Werror