Makefile: enable -Werror option
Enable warning treat as error cflags to avoid further compile warning. Change-Id: Ibfd959b4afa4724c4d6920985f21e55b959a0ed0 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
440e24d771
commit
76ba1d8a71
2
Makefile
2
Makefile
|
|
@ -360,7 +360,7 @@ KBUILD_CPPFLAGS := -D__KERNEL__ -D__UBOOT__
|
|||
KBUILD_CFLAGS := -Wall -Wstrict-prototypes \
|
||||
-Wno-format-security \
|
||||
-fno-builtin -ffreestanding
|
||||
KBUILD_CFLAGS += -fshort-wchar
|
||||
KBUILD_CFLAGS += -fshort-wchar -Werror
|
||||
KBUILD_AFLAGS := -D__ASSEMBLY__
|
||||
|
||||
# Read UBOOTRELEASE from include/config/uboot.release (if it exists)
|
||||
|
|
|
|||
Loading…
Reference in New Issue