mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 18:00:10 +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.
(cherry picked from commit 4838543053)
This commit is contained in:
parent
35f95de60e
commit
69ca27e851
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