From 3a9c1497e320d77b2453ee88d7d6b40e162e85d4 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 18 Jul 2025 19:58:56 +0200 Subject: [PATCH] debug: Do not link tst-sprintf-fortify-rdonly against the dlopen module The test intends to load tst-sprintf-fortify-rdonly-dlopen.so via dlopen, and directly linking against it prevents that. Reviewed-by: Adhemerval Zanella Netto --- debug/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debug/Makefile b/debug/Makefile index f29bd20b97..13f638e344 100644 --- a/debug/Makefile +++ b/debug/Makefile @@ -187,9 +187,9 @@ CFLAGS-tst-sprintf-fortify-rdonly-dlopen.c += $(no-fortify-source) -D_FORTIFY_SO CFLAGS-tst-fortify-syslog.c += $(no-fortify-source) -D_FORTIFY_SOURCE=2 CFLAGS-tst-fortify-wide.c += $(no-fortify-source) -D_FORTIFY_SOURCE=2 -$(objpfx)tst-sprintf-fortify-rdonly: \ - $(objpfx)tst-sprintf-fortify-rdonly-mod.so \ - $(objpfx)tst-sprintf-fortify-rdonly-dlopen.so +$(objpfx)tst-sprintf-fortify-rdonly: $(objpfx)tst-sprintf-fortify-rdonly-mod.so +$(objpfx)tst-sprintf-fortify-rdonly.out: \ + $(objpfx)tst-sprintf-fortify-rdonly-dlopen.so # _FORTIFY_SOURCE tests. # Auto-generate tests for _FORTIFY_SOURCE for different levels, compilers and -- 2.47.2