mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
cross-build: Add __weak_symbol definition for libdwarf bootstrap
Fixes:3aa0bc89c6("libdwarf: Add a weak uncompress() symbol") MFC after: 1 week (cherry picked from commitd752d10e53)
This commit is contained in:
parent
3ca6bdef85
commit
b65517ccd7
1 changed files with 3 additions and 0 deletions
|
|
@ -109,6 +109,9 @@
|
|||
#define __predict_false(exp) __builtin_expect((exp), 0)
|
||||
#endif
|
||||
|
||||
#ifndef __weak_symbol
|
||||
#define __weak_symbol __attribute__((__weak__))
|
||||
#endif
|
||||
#ifndef __weak_reference
|
||||
#ifdef __ELF__
|
||||
#define __weak_reference(sym, alias) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue