* grub-core/Makefile.am (efiemu64.o): Explicitly set link format.

This commit is contained in:
Vladimir Serbinenko 2013-11-14 12:05:48 +01:00
parent 93fcc7ad73
commit ec525c18e1
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-11-14 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/Makefile.am (efiemu64.o): Explicitly set link format.
2013-11-14 Vladimir Serbinenko <phcoder@gmail.com>
* Makefile.am (default_payload.elf): New target for easier coreboot

View file

@ -421,7 +421,7 @@ efiemu64.o: efiemu64_c.o efiemu64_s.o $(TARGET_OBJ2ELEF)
$(OBJCONV) -felf64 -nu -nd $@.bin $@ || exit 1; \
rm -f $@.bin; \
else \
$(TARGET_CC) -m64 -nostdlib -Wl,-r -o $@ $^ || exit 1; \
$(TARGET_CC) -m64 -Wl,-melf_x86_64 -nostdlib -Wl,-r -o $@ $^ || exit 1; \
if test ! -z "$(TARGET_OBJ2ELF)"; then $(TARGET_OBJ2ELF) $@ || (rm -f $@; exit 1); fi; \
fi