From d6f876b8504896cd20e3e6455a6baf7eabaf49f9 Mon Sep 17 00:00:00 2001 From: Mathieu Trudel-Lapierre Date: Tue, 12 May 2015 21:48:09 -0400 Subject: 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) --- Cryptlib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cryptlib/Makefile') 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) -- cgit v1.2.3