projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bef194
)
build: fix check-exports.sh for ppc64 arch
author
Thomas Haller
<thaller@redhat.com>
Fri, 19 Dec 2014 13:49:00 +0000
(14:49 +0100)
committer
Thomas Haller
<thaller@redhat.com>
Fri, 19 Dec 2014 13:53:00 +0000
(14:53 +0100)
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.
tools/check-exports.sh
patch
|
blob
|
history
diff --git
a/tools/check-exports.sh
b/tools/check-exports.sh
index
2049d0b
..
dfd882c
100755
(executable)
--- 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
}