diff options
-rw-r--r-- | arch/sh/cchips/hd6446x/Makefile | 2 | ||||
-rw-r--r-- | arch/sh/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/sh/lib/Makefile | 2 | ||||
-rw-r--r-- | arch/sh/mm/Makefile | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/cchips/hd6446x/Makefile b/arch/sh/cchips/hd6446x/Makefile index 9682e3ab668f..59c348337bb8 100644 --- a/arch/sh/cchips/hd6446x/Makefile +++ b/arch/sh/cchips/hd6446x/Makefile | |||
@@ -1,3 +1,3 @@ | |||
1 | obj-$(CONFIG_HD64461) += hd64461.o | 1 | obj-$(CONFIG_HD64461) += hd64461.o |
2 | 2 | ||
3 | EXTRA_CFLAGS += -Werror | 3 | ccflags-y := -Werror |
diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile index 1086ba1abdab..a1effb673722 100644 --- a/arch/sh/kernel/Makefile +++ b/arch/sh/kernel/Makefile | |||
@@ -44,4 +44,4 @@ obj-$(CONFIG_HAS_IOPORT) += io_generic.o | |||
44 | obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o | 44 | obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o |
45 | obj-$(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) += localtimer.o | 45 | obj-$(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) += localtimer.o |
46 | 46 | ||
47 | EXTRA_CFLAGS += -Werror | 47 | ccflags-y := -Werror |
diff --git a/arch/sh/lib/Makefile b/arch/sh/lib/Makefile index dab4d2129812..7b95f29e3174 100644 --- a/arch/sh/lib/Makefile +++ b/arch/sh/lib/Makefile | |||
@@ -30,4 +30,4 @@ lib-$(CONFIG_MMU) += copy_page.o __clear_user.o | |||
30 | lib-$(CONFIG_MCOUNT) += mcount.o | 30 | lib-$(CONFIG_MCOUNT) += mcount.o |
31 | lib-y += $(memcpy-y) $(memset-y) $(udivsi3-y) | 31 | lib-y += $(memcpy-y) $(memset-y) $(udivsi3-y) |
32 | 32 | ||
33 | EXTRA_CFLAGS += -Werror | 33 | ccflags-y := -Werror |
diff --git a/arch/sh/mm/Makefile b/arch/sh/mm/Makefile index 53f7c684afb2..939663c55911 100644 --- a/arch/sh/mm/Makefile +++ b/arch/sh/mm/Makefile | |||
@@ -66,4 +66,4 @@ CFLAGS_fault_64.o += -ffixed-r7 \ | |||
66 | -ffixed-r60 -ffixed-r61 -ffixed-r62 \ | 66 | -ffixed-r60 -ffixed-r61 -ffixed-r62 \ |
67 | -fomit-frame-pointer | 67 | -fomit-frame-pointer |
68 | 68 | ||
69 | EXTRA_CFLAGS += -Werror | 69 | ccflags-y := -Werror |