From: Florian Weimer Date: Fri, 18 Jul 2025 17:58:56 +0000 (+0200) Subject: debug: Do not link tst-sprintf-fortify-rdonly against the dlopen module X-Git-Tag: glibc-2.42~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a9c1497e320d77b2453ee88d7d6b40e162e85d4;p=thirdparty%2Fglibc.git 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 --- 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