summaryrefslogtreecommitdiff
path: root/Cryptlib/Makefile
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2016-09-22 10:15:26 -0400
committerMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2016-09-22 10:15:26 -0400
commit5998f019f85f765070f049332bf68d347d60c993 (patch)
tree796531832eed643b2fec02ae7f0949e84d152968 /Cryptlib/Makefile
parente3ef28acdfacfe07c42662d86af2135d1a100c24 (diff)
parent62f0afa2ecead02b1258dabab8097ca278a22f8f (diff)
downloadefi-boot-shim-5998f019f85f765070f049332bf68d347d60c993.tar.gz
efi-boot-shim-5998f019f85f765070f049332bf68d347d60c993.zip
New upstream release.
Diffstat (limited to 'Cryptlib/Makefile')
-rw-r--r--Cryptlib/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Cryptlib/Makefile b/Cryptlib/Makefile
index c9cf379a..a028979e 100644
--- a/Cryptlib/Makefile
+++ b/Cryptlib/Makefile
@@ -7,10 +7,15 @@ CFLAGS = -ggdb -O0 -I. -fno-stack-protector -fno-strict-aliasing -fpic -fshort-
ifeq ($(ARCH),x86_64)
CFLAGS += -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args \
- -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -DNO_BUILTIN_VA_FUNCS
+ -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -DNO_BUILTIN_VA_FUNCS \
+ -DMDE_CPU_IA64
endif
ifeq ($(ARCH),ia32)
- CFLAGS += -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -m32
+ CFLAGS += -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -m32 \
+ -DMDE_CPU_IA32
+endif
+ifeq ($(ARCH),aarch64)
+ CFLAGS += -DMDE_CPU_AARCH64
endif
LDFLAGS = -nostdlib -znocombreloc