]> xenbits.xensource.com Git - osstest/rumprun.git/commitdiff
makepseudolinkstubs: Use ${NM}, not nm
authorAntti Kantee <pooka@iki.fi>
Wed, 28 Oct 2015 18:27:26 +0000 (18:27 +0000)
committerAntti Kantee <pooka@iki.fi>
Wed, 28 Oct 2015 18:27:45 +0000 (18:27 +0000)
platform/makepseudolinkstubs.sh

index e333b6c9f470a0a2081dae3b1cdd0ffb658a1a82..d9d2ce628aebd2eed173235895130414f7cab7ad 100644 (file)
@@ -29,7 +29,7 @@ printf 'int _stubnosys(void); int _stubnosys(void) {return -1;}\n' \
 printf "__strong_alias(_start,_stubnosys);\n\n" >> ${OUTPUT}
 
 # symbols not convered by libc
-nm -o -g --defined-only ${BASELIB} | awk '
+${NM} -o -g --defined-only ${BASELIB} | awk '
 $(NF-1) == "T" {
        printf("__strong_alias(%s,_stubnosys);\n", $NF);
        next