blob: 5099246019aa64eeb2baba5d3a21b04acff452e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Description: Buiild with -Werror to catch future prototype mismatches.
Author: Steve Langasek <steve.langasek@ubuntu.com>
Index: shim/Makefile
===================================================================
--- shim.orig/Makefile
+++ shim/Makefile
@@ -15,7 +15,7 @@
EFI_LDS = elf_$(ARCH)_efi.lds
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 \
$(EFI_INCLUDES)
ifeq ($(ARCH),x86_64)
|