mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-23 01:51:58 +00:00
[efi] Fix building with newer binutils
Newer versions of bfd.h require definitions for the PACKAGE and PACKAGE_VERSION macros used by autotools. Work around this by manually defining these macros before including bfd.h. Originally-fixed-by: Brandon Penglase <bpenglase-ipxe@spaceservices.net> Tested-by: Brandon Penglase <bpenglase-ipxe@spaceservices.net> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
c7c3d839fc
commit
e63f6c9241
@ -18,6 +18,8 @@
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#define PACKAGE "elf2efi"
|
||||
#define PACKAGE_VERSION "1"
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user