Skip to content

Commit a234ca0

Browse files
mfmooneypmundt
authored andcommitted
sh: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent 39a9086 commit a234ca0

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎arch/sh/cchips/hd6446x/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
obj-$(CONFIG_HD64461) += hd64461.o
22

3-
EXTRA_CFLAGS += -Werror
3+
ccflags-y := -Werror

‎arch/sh/kernel/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ obj-$(CONFIG_HAS_IOPORT) += io_generic.o
4444
obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o
4545
obj-$(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) += localtimer.o
4646

47-
EXTRA_CFLAGS += -Werror
47+
ccflags-y := -Werror

‎arch/sh/lib/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ lib-$(CONFIG_MMU) += copy_page.o __clear_user.o
3030
lib-$(CONFIG_MCOUNT) += mcount.o
3131
lib-y += $(memcpy-y) $(memset-y) $(udivsi3-y)
3232

33-
EXTRA_CFLAGS += -Werror
33+
ccflags-y := -Werror

‎arch/sh/mm/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ CFLAGS_fault_64.o += -ffixed-r7 \
6666
-ffixed-r60 -ffixed-r61 -ffixed-r62 \
6767
-fomit-frame-pointer
6868

69-
EXTRA_CFLAGS += -Werror
69+
ccflags-y := -Werror

0 commit comments

Comments
 (0)