Commit 7d953d67 authored by Peter Jones's avatar Peter Jones

Use -Werror=sign-compare .

I'm going to have to fix any errors that have this anyway, so may as
well do it here properly.
Signed-off-by: default avatarPeter Jones <pjones@redhat.com>
parent a6dfd3e4
......@@ -21,6 +21,7 @@ EFI_LDS = elf_$(ARCH)_efi.lds
DEFAULT_LOADER := \\\\grub.efi
CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic \
-fshort-wchar -Wall -Wsign-compare -Werror -fno-builtin \
-Werror=sign-compare \
"-DDEFAULT_LOADER=L\"$(DEFAULT_LOADER)\"" \
"-DDEFAULT_LOADER_CHAR=\"$(DEFAULT_LOADER)\"" \
$(EFI_INCLUDES)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment