summaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index adb03477..a9c9cf66 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -17,6 +17,9 @@ CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic \
ifeq ($(ARCH),x86_64)
CFLAGS += -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI
endif
+ifeq ($(ARCH),ia32)
+ CFLAGS += -m32
+endif
lib.a: $(LIBFILES)
ar rcs lib.a $(LIBFILES)