]> git.proxmox.com Git - efi-boot-shim.git/commitdiff
Fix openssl compile flags for x86_64
authorPeter Jones <pjones@redhat.com>
Tue, 8 Aug 2017 21:48:59 +0000 (17:48 -0400)
committerPeter Jones <pjones@redhat.com>
Fri, 11 Aug 2017 18:10:43 +0000 (14:10 -0400)
Signed-off-by: Peter Jones <pjones@redhat.com>
Cryptlib/Makefile
Cryptlib/OpenSSL/Makefile

index a5e02d4dfc8e163d9357e4b9fd3f11c0dbdc4446..a025ac53c93a6f853a9da2f054b954259f3a6240 100644 (file)
@@ -8,7 +8,7 @@ CFLAGS          = -ggdb -O0 -I$(TOPDIR) -iquote $(TOPDIR) -fno-stack-protector -fno-stri
 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 \
-               -DMDE_CPU_IA64
+               -DMDE_CPU_X64
 endif
 ifeq ($(ARCH),ia32)
        CFLAGS  += -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -m32 \
index 4319afdeb385bf8d6cd0ea4aaf74a9b3548d30b2..4c683bf5fc06539ddf95e2784463c5f6e233c435 100644 (file)
@@ -11,7 +11,7 @@ CFLAGS                = -ggdb -O0 -I$(TOPDIR) -I$(TOPDIR)/.. -I$(TOPDIR)/../Include/ -I$(TOPDI
 ifeq ($(ARCH),x86_64)
        CFLAGS  += -mno-mmx -mno-sse -mno-red-zone -maccumulate-outgoing-args \
                -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI \
-               -UNO_BUILTIN_VA_FUNCS -DMDE_CPU_IA64
+               -UNO_BUILTIN_VA_FUNCS -DMDE_CPU_X64
 endif
 ifeq ($(ARCH),ia32)
        CFLAGS  += -mno-mmx -mno-sse -mno-red-zone -maccumulate-outgoing-args \