From: Michael Brown Date: Thu, 14 Mar 2013 00:20:04 +0000 (+0000) Subject: [efi] Fix building with newer binutils X-Git-Tag: v1.20.1~1562 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e63f6c9241394eca5bfbc962704c19dff1448e37;p=thirdparty%2Fipxe.git [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 --- 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 #include #include