summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2013-10-23 10:50:36 -0400
committerPeter Jones <pjones@redhat.com>2013-10-23 10:50:36 -0400
commit56fb385a172890cf4c20c9daa89bb6cccf9c1b4e (patch)
tree961e98270dddc788b4c7902b6bf4b48332108950 /Makefile
parentbe73f6bd4f064015c9f12323e2fb2f51b8cdb631 (diff)
downloadefi-boot-shim-56fb385a172890cf4c20c9daa89bb6cccf9c1b4e.tar.gz
efi-boot-shim-56fb385a172890cf4c20c9daa89bb6cccf9c1b4e.zip
Revert "additional bounds-checking on section sizes"
This reverts commit 21e40f0174814b3d91836e38c7cf95c8f2f1f3a4. In principle I like the idea of what's going on here, but generate_hash() really does need to have the expected result.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index af7642ba..0fce4664 100644
--- a/Makefile
+++ b/Makefile
@@ -16,8 +16,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 \
- -mno-red-zone -maccumulate-outgoing-args \
+ -fshort-wchar -Wall -Werror -mno-red-zone -maccumulate-outgoing-args \
-mno-mmx -mno-sse -fno-builtin \
"-DDEFAULT_LOADER=L\"$(DEFAULT_LOADER)\"" \
"-DDEFAULT_LOADER_CHAR=\"$(DEFAULT_LOADER)\"" \