]> git.proxmox.com Git - efi-boot-shim.git/commitdiff
Use -Werror=sign-compare .
authorPeter Jones <pjones@redhat.com>
Sun, 21 Sep 2014 17:50:13 +0000 (13:50 -0400)
committerPeter Jones <pjones@redhat.com>
Thu, 2 Oct 2014 05:01:54 +0000 (01:01 -0400)
I'm going to have to fix any errors that have this anyway, so may as
well do it here properly.

Signed-off-by: Peter Jones <pjones@redhat.com>
Makefile

index 5bc513c1853e09e5ccf04c73cc51ff8c02a068c3..694480baa017ddf613856122d542a7975580a8f0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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)