summaryrefslogtreecommitdiff
path: root/Cryptlib/Makefile
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2016-07-26 12:02:18 -0400
committerMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2016-07-26 12:02:18 -0400
commitd3819813b8e0a64400ddf3ce033bae7c3f245508 (patch)
tree79ea54361f1b1fa10749101827391726a3f4bcef /Cryptlib/Makefile
parenta14921c5944c340056312f2f5b1728d698f628b1 (diff)
downloadefi-boot-shim-d3819813b8e0a64400ddf3ce033bae7c3f245508.tar.gz
efi-boot-shim-d3819813b8e0a64400ddf3ce033bae7c3f245508.zip
Import upstream version 0.9+1465500757.14a5905
Diffstat (limited to 'Cryptlib/Makefile')
-rw-r--r--Cryptlib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Cryptlib/Makefile b/Cryptlib/Makefile
index 9719a279..c9cf379a 100644
--- a/Cryptlib/Makefile
+++ b/Cryptlib/Makefile
@@ -2,11 +2,12 @@
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) -std=gnu89 \
+ -ffreestanding -I$(shell $(CC) -print-file-name=include)
ifeq ($(ARCH),x86_64)
CFLAGS += -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args \
- -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI
+ -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -DNO_BUILTIN_VA_FUNCS
endif
ifeq ($(ARCH),ia32)
CFLAGS += -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -m32
@@ -18,6 +19,7 @@ OBJS = Hash/CryptMd4.o \
Hash/CryptMd5.o \
Hash/CryptSha1.o \
Hash/CryptSha256.o \
+ Hash/CryptSha512.o \
Hmac/CryptHmacMd5.o \
Hmac/CryptHmacSha1.o \
Cipher/CryptAes.o \
@@ -29,6 +31,7 @@ OBJS = Hash/CryptMd4.o \
Pk/CryptPkcs7SignNull.o \
Pk/CryptPkcs7Verify.o \
Pk/CryptDhNull.o \
+ Pk/CryptTs.o \
Pk/CryptX509.o \
Pk/CryptAuthenticode.o \
Pem/CryptPem.o \