summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2013-10-01 14:38:09 -0400
committerPeter Jones <pjones@redhat.com>2013-10-01 14:38:09 -0400
commit7076ec11b094b49e087545ebb48e255c92b44c2a (patch)
tree3fdb43763b82d4e207e366cca7bbbbf42d773b04 /lib/Makefile
parentbb2fe4cfb3fc050e4ef0dbb6af0c53a4f75200c9 (diff)
downloadefi-boot-shim-7076ec11b094b49e087545ebb48e255c92b44c2a.tar.gz
efi-boot-shim-7076ec11b094b49e087545ebb48e255c92b44c2a.zip
Clean up warnings.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index c1b9ab34..adb03477 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -11,7 +11,9 @@ EFI_CRT_OBJS = $(EFI_PATH)/crt0-efi-$(ARCH).o
EFI_LDS = $(EFI_PATH)/elf_$(ARCH)_efi.lds
CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic \
- -fshort-wchar -Wall -mno-red-zone -DBUILD_EFI $(EFI_INCLUDES)
+ -fshort-wchar -Wall -mno-red-zone -DBUILD_EFI -fno-builtin \
+ -Werror \
+ $(EFI_INCLUDES)
ifeq ($(ARCH),x86_64)
CFLAGS += -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI
endif