libbacktrace: check for objcopy --add-gnu-debuglink using --help
* configure.ac: Check for objcopy --add-gnu-debuglink by using objcopy --help. * configure: Regenerate
This commit is contained in:
parent
467a482052
commit
3e2f329e94
3
libbacktrace/configure
vendored
3
libbacktrace/configure
vendored
@ -13796,8 +13796,7 @@ else
|
||||
libbacktrace_cv_objcopy_debuglink=no
|
||||
elif ! test -n "${OBJCOPY}"; then
|
||||
libbacktrace_cv_objcopy_debuglink=no
|
||||
elif ${OBJCOPY} --add-gnu-debuglink=x /bin/ls /tmp/ls$$; then
|
||||
rm -f /tmp/ls$$
|
||||
elif ${OBJCOPY} --help | fgrep add-gnu-debuglink >/dev/null 2>&1; then
|
||||
libbacktrace_cv_objcopy_debuglink=yes
|
||||
else
|
||||
libbacktrace_cv_objcopy_debuglink=no
|
||||
|
@ -500,8 +500,7 @@ AC_CACHE_CHECK([whether objcopy supports debuglink],
|
||||
libbacktrace_cv_objcopy_debuglink=no
|
||||
elif ! test -n "${OBJCOPY}"; then
|
||||
libbacktrace_cv_objcopy_debuglink=no
|
||||
elif ${OBJCOPY} --add-gnu-debuglink=x /bin/ls /tmp/ls$$; then
|
||||
rm -f /tmp/ls$$
|
||||
elif ${OBJCOPY} --help | fgrep add-gnu-debuglink >/dev/null 2>&1; then
|
||||
libbacktrace_cv_objcopy_debuglink=yes
|
||||
else
|
||||
libbacktrace_cv_objcopy_debuglink=no
|
||||
|
Loading…
Reference in New Issue
Block a user