diff options
| author | Michael Brown | 2020-08-23 18:52:41 +0200 |
|---|---|---|
| committer | Michael Brown | 2020-08-23 18:52:41 +0200 |
| commit | 4bd064de239dab2426b31c9789a1f4d78087dc63 (patch) | |
| tree | f9aa57a681fb2ab61d4480374bbd5c5067191fb6 /src/interface/efi | |
| parent | [efi] Attempt NII initialisation both with and without cable detection (diff) | |
| download | ipxe-4bd064de239dab2426b31c9789a1f4d78087dc63.tar.gz ipxe-4bd064de239dab2426b31c9789a1f4d78087dc63.tar.xz ipxe-4bd064de239dab2426b31c9789a1f4d78087dc63.zip | |
[build] Fix building on older versions of gcc
Older versions of gcc (observed with gcc 4.5.3) require attributes to
be specified on the first declaration of a symbol, and will silently
ignore attributes specified after the initial declaration. This
causes the ASN.1 OID-identified algorithms to end up misaligned.
Fix by adding __asn1_algorithm to the initial declarations in asn1.h.
Debugged-by: Dentcho Bankov <dbankov@vmware.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi')
0 files changed, 0 insertions, 0 deletions
