diff options
| author | Peter Jones <pjones@redhat.com> | 2015-04-13 19:55:25 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2015-04-13 19:55:25 -0400 |
| commit | 683b5643326f1ef2ba079b6201efad6f6e3279d1 (patch) | |
| tree | 98f906eaa2614866654d53e069190fe180965f95 /Cryptlib/Makefile | |
| parent | 344b9cbd0b92cacc8d4dcaf28a9d9e59fa3192da (diff) | |
| download | efi-boot-shim-683b5643326f1ef2ba079b6201efad6f6e3279d1.tar.gz efi-boot-shim-683b5643326f1ef2ba079b6201efad6f6e3279d1.zip | |
gcc 5.0 changes some include bits, so copy what arm does on x86.
Basically they messed around with stdarg some and now we need to do it
the other way.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Cryptlib/Makefile')
| -rw-r--r-- | Cryptlib/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Cryptlib/Makefile b/Cryptlib/Makefile index 9719a279..1769e674 100644 --- a/Cryptlib/Makefile +++ b/Cryptlib/Makefile @@ -2,7 +2,8 @@ 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 \ - -Wall $(EFI_INCLUDES) + -Wall $(EFI_INCLUDES) \ + -ffreestanding -I$(shell $(CC) -print-file-name=include) ifeq ($(ARCH),x86_64) CFLAGS += -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args \ |
