mirror of
https://github.com/ianlancetaylor/libbacktrace.git
synced 2026-03-22 10:09:07 +08:00
libbacktrace: test linker support for DWARF 5
On AIX, the compiler supports DWARF 5 but the linker does not. 2020-07-07 Clement Chigot <clement.chigot@atos.net> * configure.ac: Test linker support for DWARF5 * configure: Regenerate
This commit is contained in:
12
configure
vendored
12
configure
vendored
@@ -12678,13 +12678,21 @@ CFLAGS="$CFLAGS -gdwarf-5"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
int i;
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return 0;
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
libbacktrace_cv_lib_dwarf5=yes
|
||||
else
|
||||
libbacktrace_cv_lib_dwarf5=no
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
CFLAGS=$CFLAGS_hold
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_lib_dwarf5" >&5
|
||||
|
||||
Reference in New Issue
Block a user