diff options
| author | Andrew Boie <andrew.p.boie@intel.com> | 2013-11-11 16:17:20 -0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2013-11-12 10:31:59 -0500 |
| commit | 9712a7e77dc12f7569858b81d620d85301f50ede (patch) | |
| tree | b1a1020bf50918bd2630a87b7e125140bb56cee8 /lib | |
| parent | 476d376ed08e1431bf7e20bf47ea3fc6c36dd168 (diff) | |
| download | efi-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/Makefile | 3 |
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) |
