summaryrefslogtreecommitdiff
path: root/Cryptlib/Makefile
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2015-05-12 21:48:09 -0400
committerMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2015-05-12 21:48:09 -0400
commitd6f876b8504896cd20e3e6455a6baf7eabaf49f9 (patch)
tree5a344b5126f061c4f6dccdef4616879a0aa9662e /Cryptlib/Makefile
parent8fa98d6dcdd9dc1e902ab9f50fcc59c301a9faca (diff)
downloadefi-boot-shim-d6f876b8504896cd20e3e6455a6baf7eabaf49f9.tar.gz
efi-boot-shim-d6f876b8504896cd20e3e6455a6baf7eabaf49f9.zip
Fix build with GCC 5, forcing -std=gnu89 to not rely on stdint.h
required by efibind.h, and not found with -nostdinc. (LP: #1429978)
Diffstat (limited to 'Cryptlib/Makefile')
-rw-r--r--Cryptlib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cryptlib/Makefile b/Cryptlib/Makefile
index 9719a279..e930656d 100644
--- a/Cryptlib/Makefile
+++ b/Cryptlib/Makefile
@@ -1,7 +1,7 @@
EFI_INCLUDES = -IInclude -I$(EFI_INCLUDE) -I$(EFI_INCLUDE)/$(ARCH) -I$(EFI_INCLUDE)/protocol
-CFLAGS = -ggdb -O0 -I. -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar \
+CFLAGS = -std=gnu89 -ggdb -O0 -I. -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar \
-Wall $(EFI_INCLUDES)
ifeq ($(ARCH),x86_64)