diff options
| author | Matthew Garrett <mjg59@coreos.com> | 2015-04-15 13:30:52 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2015-04-15 13:30:52 -0400 |
| commit | f3af1acfec86794ae2d78f63cab100503bfc9a7b (patch) | |
| tree | 508bcfe83e9854678018f1aca101dd21f45d5a09 | |
| parent | 683b5643326f1ef2ba079b6201efad6f6e3279d1 (diff) | |
| download | efi-boot-shim-f3af1acfec86794ae2d78f63cab100503bfc9a7b.tar.gz efi-boot-shim-f3af1acfec86794ae2d78f63cab100503bfc9a7b.zip | |
Explicitly request sysv-style ELF hash sections
We depend on there being a .hash section in the binary, and that's not
the case on distributions that default to building with gnu-style ELF
hashes. Explicitly request sysv-style hashes in order to avoid building
broken binaries.
Signed-off-by: Matthew Garrett <mjg59@coreos.com>
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ ifneq ($(origin VENDOR_DBX_FILE), undefined) CFLAGS += -DVENDOR_DBX_FILE=\"$(VENDOR_DBX_FILE)\" endif -LDFLAGS = -nostdlib -znocombreloc -T $(EFI_LDS) -shared -Bsymbolic -L$(EFI_PATH) -L$(LIB_PATH) -LCryptlib -LCryptlib/OpenSSL $(EFI_CRT_OBJS) +LDFLAGS = --hash-style=sysv -nostdlib -znocombreloc -T $(EFI_LDS) -shared -Bsymbolic -L$(EFI_PATH) -L$(LIB_PATH) -LCryptlib -LCryptlib/OpenSSL $(EFI_CRT_OBJS) VERSION = 0.8 |
