Mercurial > unleashed
changeset 20563:bb55fd405633
boot/efi/loader/amd64: LDFLAGS+= -m elf_x86_64_sol2
otherwise, _DYNAMIC is undefined (and it is used in start.S)
author | Lauri Tirkkonen <lotheac@iki.fi> |
---|---|
date | Sat, 11 May 2019 11:36:45 +0000 |
parents | a485bd8616da |
children | 3e0b540b5513 |
files | usr/src/boot/sys/boot/efi/loader/amd64/Makefile |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/boot/sys/boot/efi/loader/amd64/Makefile Sat May 11 10:46:02 2019 +0000 +++ b/usr/src/boot/sys/boot/efi/loader/amd64/Makefile Sat May 11 11:36:45 2019 +0000 @@ -23,7 +23,7 @@ include ../Makefile.com EFI_TARGET= pei-x86-64 -LDFLAGS += -znocombreloc +LDFLAGS += -znocombreloc -m elf_x86_64_sol2 efi_main.o := CPPFLAGS += -DLOADER_EFI=L\"loader64.efi\" CFLAGS += -m64