зеркало из https://github.com/mozilla/pjs.git
Don't bother looking for eu-readelf and readelf on Mac OS X (the 'which' command there prints its error message to stdout, so it's hard to tell that it failed).
This commit is contained in:
Родитель
23ee16318a
Коммит
f9f4b8db03
|
@ -136,6 +136,9 @@ fi
|
|||
# Check whether we have 'eu-readelf' or 'readelf' available.
|
||||
# If we do, it will give more accurate symbol sizes than nm.
|
||||
|
||||
if [ $OSTYPE == "Darwin" ]; then
|
||||
USE_READELF=
|
||||
else
|
||||
READELF_PROG=`which eu-readelf 2>/dev/null`
|
||||
if test "$READELF_PROG"; then
|
||||
USE_READELF=1
|
||||
|
@ -153,6 +156,7 @@ else
|
|||
USE_READELF=
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
RAWTSVFILE="$MYTMPDIR/raw.tsv"
|
||||
if test "$USE_READELF"; then
|
||||
|
|
|
@ -135,6 +135,9 @@ fi
|
|||
# Check whether we have 'eu-readelf' or 'readelf' available.
|
||||
# If we do, it will give more accurate symbol sizes than nm.
|
||||
|
||||
if [ $OSTYPE == "Darwin" ]; then
|
||||
USE_READELF=
|
||||
else
|
||||
READELF_PROG=`which eu-readelf 2>/dev/null`
|
||||
if test "$READELF_PROG"; then
|
||||
USE_READELF=1
|
||||
|
@ -152,6 +155,7 @@ else
|
|||
USE_READELF=
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# Find all relevant files.
|
||||
|
|
Загрузка…
Ссылка в новой задаче