Przeglądaj źródła

[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>
tags/v1.20.1
Michael Brown 11 lat temu
rodzic
commit
e63f6c9241
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2
    0
      src/util/elf2efi.c

+ 2
- 0
src/util/elf2efi.c Wyświetl plik

@@ -18,6 +18,8 @@
18 18
  */
19 19
 
20 20
 #define _GNU_SOURCE
21
+#define PACKAGE "elf2efi"
22
+#define PACKAGE_VERSION "1"
21 23
 #include <stdint.h>
22 24
 #include <stddef.h>
23 25
 #include <stdlib.h>

Ładowanie…
Anuluj
Zapisz