summaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 '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)