diff options
author | Michael Brown <mcb30@ipxe.org> | 2013-03-14 00:20:04 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2013-03-14 00:20:04 +0000 |
commit | e63f6c9241394eca5bfbc962704c19dff1448e37 (patch) | |
tree | 903382e341407cefb8d69de759d3f4e678b3e1af /src/util/elf2efi.c | |
parent | c7c3d839fc9120aee28de9aabe452dc85ad91502 (diff) | |
download | ipxe-e63f6c9241394eca5bfbc962704c19dff1448e37.tar.gz |
[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>
Diffstat (limited to 'src/util/elf2efi.c')
-rw-r--r-- | src/util/elf2efi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/elf2efi.c b/src/util/elf2efi.c index b28c7ef33..45d539574 100644 --- a/src/util/elf2efi.c +++ b/src/util/elf2efi.c @@ -18,6 +18,8 @@ */ #define _GNU_SOURCE +#define PACKAGE "elf2efi" +#define PACKAGE_VERSION "1" #include <stdint.h> #include <stddef.h> #include <stdlib.h> |