diff options
author | Thomas Haller <thaller@redhat.com> | 2014-12-19 14:49:00 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-12-19 14:53:00 +0100 |
commit | 48385430539fca657fd409e6b3f5f024fc4690dd (patch) | |
tree | b43d94c0dad263cf2a59ccf044d4961e78863d86 /tools | |
parent | 1bef19430200198d7c5ae7a767eee38142eb2882 (diff) | |
download | NetworkManager-48385430539fca657fd409e6b3f5f024fc4690dd.tar.gz |
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.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/check-exports.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check-exports.sh b/tools/check-exports.sh index 2049d0b3cb..dfd882c15b 100755 --- a/tools/check-exports.sh +++ b/tools/check-exports.sh @@ -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 } |