From 9926f6e2eeb374cf729d4bb3f092dd4b36a8f861 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 24 Aug 2021 09:35:32 -0700 Subject: elf: Skip tst-auditlogmod-* if the linker doesn't support --depaudit [BZ #28151] gold and ld.lld do not support --audit or --depaudit. Reviewed-by: Adhemerval Zanella --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index af47cd51e6..e250f0e20b 100644 --- a/configure.ac +++ b/configure.ac @@ -1337,6 +1337,10 @@ LIBC_LINKER_FEATURE([-z start-stop-gc], [-Wl,-z,start-stop-gc], [libc_cv_z_start_stop_gc=yes], [libc_cv_z_start_stop_gc=no]) LIBC_CONFIG_VAR([have-z-start-stop-gc], [$libc_cv_z_start_stop_gc]) +LIBC_LINKER_FEATURE([--depaudit], [-Wl,--depaudit,x], + [libc_cv_depaudit=yes], [libc_cv_depaudit=no]) +LIBC_CONFIG_VAR([have-depaudit], [$libc_cv_depaudit]) + LIBC_LINKER_FEATURE([--no-dynamic-linker], [-Wl,--no-dynamic-linker], [libc_cv_no_dynamic_linker=yes], -- cgit 1.4.1