]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Pass -g flag to nm.
authorNiels Möller <nisse@lysator.liu.se>
Thu, 4 Mar 2004 21:44:36 +0000 (22:44 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 4 Mar 2004 21:44:36 +0000 (22:44 +0100)
Rev: src/nettle/testsuite/symbols-test:1.5

testsuite/symbols-test

index 5b84eb4ee8543af3a677d2028d3b926da50f7ac6..710564386c16699ae4dd09c3fc3cc31bee5ec59b 100755 (executable)
@@ -6,7 +6,9 @@ if [ -z "$srcdir" ] ; then
   srcdir=`pwd`
 fi
 
-nm ../libnettle.a | grep ' [DRT] ' | egrep -v '( |^)\.?_?(_?nettle_|memxor)' \
+# nm on aix seems to generate bogus outbut including random binary data.
+# Using -g is a workaround to get rid of that. Hope nm -g is portable enough.
+nm -g ../libnettle.a | grep ' [DRT] ' | egrep -v '( |^)\.?_?(_?nettle_|memxor)' \
     | sort -k3 > test1.out
 
 if [ -s test1.out ] ; then