summaryrefslogtreecommitdiffstats
path: root/arch/sh/lib
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-06 17:35:12 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-11-07 11:13:55 +0900
commit98366c20a275e957416e9516db5dcb7195b4e101 (patch)
tree271acfbea8ac50b313a27158541587d262fe8885 /arch/sh/lib
parent808bde2537b6c683af25a2e911c1d88dc80a445e (diff)
downloadop-kernel-dev-98366c20a275e957416e9516db5dcb7195b4e101.zip
op-kernel-dev-98366c20a275e957416e9516db5dcb7195b4e101.tar.gz
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 e23dd1a..9dc7b69 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
OpenPOWER on IntegriCloud