Commit 5e7fd521 authored by Niels Möller's avatar Niels Möller
Browse files

Pass -g flag to nm.

Rev: src/nettle/testsuite/symbols-test:1.5
parent dea21ca8
...@@ -6,7 +6,9 @@ if [ -z "$srcdir" ] ; then ...@@ -6,7 +6,9 @@ if [ -z "$srcdir" ] ; then
srcdir=`pwd` srcdir=`pwd`
fi 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 | sort -k3 > test1.out
if [ -s test1.out ] ; then if [ -s test1.out ] ; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment