diff options
| author | Michael Brown | 2009-01-05 21:54:40 +0100 |
|---|---|---|
| committer | Michael Brown | 2009-01-05 21:54:40 +0100 |
| commit | 21cfab4fb86d6313413097a54528dfd841b3e8e1 (patch) | |
| tree | 7b3d2e279fe861c60c0f640fb14d0296e388d115 /src/arch/x86_64 | |
| parent | [infiniband] Call ib_open() only when opening the IPoIB net device (diff) | |
| download | ipxe-21cfab4fb86d6313413097a54528dfd841b3e8e1.tar.gz ipxe-21cfab4fb86d6313413097a54528dfd841b3e8e1.tar.xz ipxe-21cfab4fb86d6313413097a54528dfd841b3e8e1.zip | |
[efi] Inhibit harmless ld warning on unresolved symbol check
The check for unresolved symbols does not explicitly specify an output
architecture format, and so causes a warning when building an i386 EFI
binary on an x86_64 platform. This warning is harmless, and
specifying the output architecture in multiple places is cumbersome,
so just inhibit the warning.
Diffstat (limited to 'src/arch/x86_64')
| -rw-r--r-- | src/arch/x86_64/Makefile.efi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86_64/Makefile.efi b/src/arch/x86_64/Makefile.efi index 7e07088de..9b9b373ff 100644 --- a/src/arch/x86_64/Makefile.efi +++ b/src/arch/x86_64/Makefile.efi @@ -20,7 +20,8 @@ NON_AUTO_MEDIA += efi # $(BIN)/%.efi.tmp-reloc : $(BIN)/%.efi.tmp $(EFILINK) $(QM)$(ECHO) " [EFILINK] $@" - $(Q)$(LD) -e 0 -o /dev/null $< # Check for unresolved symbols + $(Q)# Check for unresolved symbols + $(Q)$(LD) -e 0 --no-warn-mismatch -o /dev/null $< $(Q)$(EFILINK) $< $@ $(BIN)/%.efi : $(BIN)/%.efi.tmp-reloc |
