Remove arch-specific coff headers
If we use IMAGE_FILE_MACHINE_AMD64 instead of AMD64MAGIC, we can avoid including the arch-specific coff/x86_64 header. Based on a patch from Maxim Kammerer <mk@dee.su>. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
parent
1c8fac1fbe
commit
e027b87cff
5 changed files with 2 additions and 134 deletions
|
@ -3,7 +3,7 @@ AM_CFLAGS = -Wall -Wextra --std=gnu99
|
|||
|
||||
bin_PROGRAMS = sbsign sbverify sbattach sbvarsign sbsiglist
|
||||
|
||||
coff_headers = coff/external.h coff/pe.h coff/i386.h coff/x86_64.h
|
||||
coff_headers = coff/external.h coff/pe.h
|
||||
|
||||
common_SOURCES = idc.c idc.h image.c image.h fileio.c fileio.h $(coff_headers)
|
||||
common_LDADD = lib/ccan/libccan.a $(libcrypto_LIBS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue