summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2014-10-02 01:01:54 -0400
committerPeter Jones <pjones@redhat.com>2014-10-02 01:01:54 -0400
commit7d953d6722ee9d2d1e21104bae41d60629332140 (patch)
tree4fda0d23c2fee6b4be2aec6c4daacbbc1daca15c
parenta6dfd3e426540b0eafc85f2e6bb3768fe190d3f2 (diff)
downloadefi-boot-shim-7d953d6722ee9d2d1e21104bae41d60629332140.tar.gz
efi-boot-shim-7d953d6722ee9d2d1e21104bae41d60629332140.zip
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: Peter Jones <pjones@redhat.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5bc513c1..694480ba 100644
--- 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)