summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL
diff options
context:
space:
mode:
authorAndrew Boie <andrew.p.boie@intel.com>2013-11-12 10:31:59 -0500
committerPeter Jones <pjones@redhat.com>2013-11-12 10:31:59 -0500
commit6caa9bad715eba8ce423527f8b876a636327b0be (patch)
treeb1a1020bf50918bd2630a87b7e125140bb56cee8 /Cryptlib/OpenSSL
parentcfac0bb9f40f7d1fbd1de9bbff87df65e7392f1b (diff)
downloadefi-boot-shim-6caa9bad715eba8ce423527f8b876a636327b0be.tar.gz
efi-boot-shim-6caa9bad715eba8ce423527f8b876a636327b0be.zip
allow 32-bit compilation with 64-bit compiler
Also removed unused LIB_PATH from some Makefiles. Change-Id: I7d28d18f7531b51b6121a2ffb88bcaedec57c467 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Diffstat (limited to 'Cryptlib/OpenSSL')
-rw-r--r--Cryptlib/OpenSSL/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Cryptlib/OpenSSL/Makefile b/Cryptlib/OpenSSL/Makefile
index 3d5a87cd..8e2f2a6f 100644
--- a/Cryptlib/OpenSSL/Makefile
+++ b/Cryptlib/OpenSSL/Makefile
@@ -1,7 +1,5 @@
ARCH = $(shell uname -m | sed s,i[3456789]86,ia32,)
-LIB_PATH = /usr/lib64
-
EFI_INCLUDE = /usr/include/efi
EFI_INCLUDES = -I../Include -I$(EFI_INCLUDE) -I$(EFI_INCLUDE)/$(ARCH) -I$(EFI_INCLUDE)/protocol
EFI_PATH = /usr/lib64/gnuefi
@@ -15,7 +13,7 @@ ifeq ($(ARCH),x86_64)
CFLAGS += -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -DSIXTY_FOUR_BIT_LONG
endif
ifeq ($(ARCH),ia32)
- CFLAGS += -DTHIRTY_TWO_BIT
+ CFLAGS += -m32 -DTHIRTY_TWO_BIT
endif
LDFLAGS = -nostdlib -znocombreloc