summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-02-08 16:18:11 +0100
committerThomas Haller <thaller@redhat.com>2017-02-08 16:52:23 +0100
commit8bc88bcc7cc6e60abfabacd00591e01aaab9eac3 (patch)
treeea3cb0e25ed4c3414e325f5768e2cbcb5a623e0c /tools
parenta347962831ed127338a13b7a0939302d42bcfe60 (diff)
downloadNetworkManager-8bc88bcc7cc6e60abfabacd00591e01aaab9eac3.tar.gz
build: allow configuring path to binutils's nm tool during build
`nm` is used by "tools/create-exports-NetworkManager.sh" script. Alloc configuring an explicit path during configure. BINUTILS_NM=/usr/bin/nm ./configure
Diffstat (limited to 'tools')
-rwxr-xr-xtools/create-exports-NetworkManager.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create-exports-NetworkManager.sh b/tools/create-exports-NetworkManager.sh
index 3a4619a46f..c1010f7229 100755
--- a/tools/create-exports-NetworkManager.sh
+++ b/tools/create-exports-NetworkManager.sh
@@ -29,7 +29,7 @@ _sort() {
}
call_nm() {
- nm "$1" |
+ "${BINUTILS_NM:-${NM:-nm}}" "$1" |
sed -n 's/.* \([^ ]\) \([^ ]*\)$/\1 \2/p'
}