summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-12-19 14:49:00 +0100
committerThomas Haller <thaller@redhat.com>2014-12-19 14:53:00 +0100
commit48385430539fca657fd409e6b3f5f024fc4690dd (patch)
treeb43d94c0dad263cf2a59ccf044d4961e78863d86
parent1bef19430200198d7c5ae7a767eee38142eb2882 (diff)
downloadNetworkManager-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.
-rwxr-xr-xtools/check-exports.sh2
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
}