mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-06 04:36:13 +00:00
Build with -Werror to catch future prototype mismatches.
This commit is contained in:
parent
fbc486b50d
commit
2d8cfca2ce
2
Makefile
2
Makefile
@ -15,7 +15,7 @@ EFI_CRT_OBJS = $(EFI_PATH)/crt0-efi-$(ARCH).o
|
|||||||
EFI_LDS = elf_$(ARCH)_efi.lds
|
EFI_LDS = elf_$(ARCH)_efi.lds
|
||||||
|
|
||||||
CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic \
|
CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic \
|
||||||
-fshort-wchar -Wall -mno-red-zone -maccumulate-outgoing-args \
|
-fshort-wchar -Wall -Werror -mno-red-zone -maccumulate-outgoing-args \
|
||||||
-mno-mmx -mno-sse \
|
-mno-mmx -mno-sse \
|
||||||
$(EFI_INCLUDES)
|
$(EFI_INCLUDES)
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
|
Loading…
Reference in New Issue
Block a user