~vorlon/ubuntu/yakkety/shim/trunk

« back to all changes in this revision

Viewing changes to Cryptlib/Makefile

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2015-05-13 01:48:09 UTC
  • Revision ID: mathieu.trudel-lapierre@canonical.com-20150513014809-yvmtne9fhzeq9efz
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)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
EFI_INCLUDES    = -IInclude -I$(EFI_INCLUDE) -I$(EFI_INCLUDE)/$(ARCH) -I$(EFI_INCLUDE)/protocol
3
3
 
4
 
CFLAGS          = -ggdb -O0 -I. -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar \
 
4
CFLAGS          = -std=gnu89 -ggdb -O0 -I. -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar \
5
5
                  -Wall $(EFI_INCLUDES)
6
6
 
7
7
ifeq ($(ARCH),x86_64)