diff options
author | Matt Fleming <matt.fleming@intel.com> | 2011-08-16 11:32:21 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2011-08-18 20:47:47 +0100 |
commit | 8a3fcac328ba09e16c0c5b661c62ff9b25752c8b (patch) | |
tree | 9dcb20f4e55b3c8bf753f9649149a0b9c8451834 | |
parent | b08c499ced2fed1710f53619a0a46cc07fae0275 (diff) | |
download | efilinux-8a3fcac328ba09e16c0c5b661c62ff9b25752c8b.tar.gz |
Makefile: Add -znocombreloc to LDFLAGS
This seems to be required in order for i386 to boot.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -54,7 +54,8 @@ LDSCRIPT=$(LIBDIR)/gnuefi/elf_$(ARCH)_efi.lds CFLAGS=-I. -I/usr/include/efi -I/usr/include/efi/$(ARCH) \ -DEFI_FUNCTION_WRAPPER -fPIC -fshort-wchar -ffreestanding \ -Wall -Ifs/ -Iloaders/ -D$(ARCH) -Werror -LDFLAGS=-T $(LDSCRIPT) -Bsymbolic -shared -nostdlib -L$(LIBDIR) $(CRT0) +LDFLAGS=-T $(LDSCRIPT) -Bsymbolic -shared -nostdlib -znocombreloc \ + -L$(LIBDIR) $(CRT0) IMAGE=efilinux.efi OBJS = entry.o malloc.o |