From e63f6c9241394eca5bfbc962704c19dff1448e37 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 14 Mar 2013 00:20:04 +0000 Subject: [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 Tested-by: Brandon Penglase Signed-off-by: Michael Brown --- src/util/elf2efi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util') diff --git a/src/util/elf2efi.c b/src/util/elf2efi.c index b28c7ef3..45d53957 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 #include #include -- cgit v1.2.3-55-g7522