mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 18:20:29 +01:00
build: fix check-exports.sh for ppc64 arch
On ppc64, `nm` reports the exported symbols as 'D' instead of 'T'. This caused `make check` to fail. "D" The symbol is in the initialized data section. "T" The symbol is in the text (code) section.
This commit is contained in:
parent
1bef194302
commit
4838543053
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ TMPFILE="$(mktemp .nm-check-exports.XXXXXX)"
|
|||
|
||||
get_syms() {
|
||||
nm "$1" |
|
||||
sed -n 's/^[[:xdigit:]]\+ T //p' |
|
||||
sed -n 's/^[[:xdigit:]]\+ [DT] //p' |
|
||||
sort
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue