mirror of
https://github.com/ianlancetaylor/libbacktrace.git
synced 2026-03-28 21:19:06 +08:00
libbacktrace: don't run --build-id tests if it is not supported
PR libbacktrace/108297 * configure.ac: Test whether linker supports --build-id. * Makefile.am: Only run --build-id tests if supported. * configure, Makefile.in: Regenerate.
This commit is contained in:
@@ -249,6 +249,7 @@ check_DATA += allocfail.dSYM
|
||||
endif USE_DSYMUTIL
|
||||
|
||||
if HAVE_ELF
|
||||
if HAVE_BUILDID
|
||||
if HAVE_OBJCOPY_DEBUGLINK
|
||||
|
||||
b2test_SOURCES = $(btest_SOURCES)
|
||||
@@ -272,6 +273,7 @@ MAKETESTS += b3test_dwz_buildid
|
||||
endif HAVE_DWZ
|
||||
|
||||
endif HAVE_OBJCOPY_DEBUGLINK
|
||||
endif HAVE_BUILDID
|
||||
endif HAVE_ELF
|
||||
|
||||
btest_SOURCES = btest.c testlib.c
|
||||
|
||||
Reference in New Issue
Block a user