summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Boie <andrew.p.boie@intel.com>2013-11-11 16:17:20 -0800
committerPeter Jones <pjones@redhat.com>2013-11-12 10:31:59 -0500
commit9712a7e77dc12f7569858b81d620d85301f50ede (patch)
treeb1a1020bf50918bd2630a87b7e125140bb56cee8 /Makefile
parent476d376ed08e1431bf7e20bf47ea3fc6c36dd168 (diff)
downloadefi-boot-shim-9712a7e77dc12f7569858b81d620d85301f50ede.tar.gz
efi-boot-shim-9712a7e77dc12f7569858b81d620d85301f50ede.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 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d619ff49..e65d28d3 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,9 @@ endif
ifeq ($(ARCH),x86_64)
CFLAGS += -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI
endif
+ifeq ($(ARCH),ia32)
+ CFLAGS += -m32
+endif
ifneq ($(origin VENDOR_CERT_FILE), undefined)
CFLAGS += -DVENDOR_CERT_FILE=\"$(VENDOR_CERT_FILE)\"
endif