public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] build: never build test-runner with ASAN
@ 2026-04-06 10:55 Pauli Virtanen
  2026-04-06 11:59 ` [BlueZ] " bluez.test.bot
  2026-04-06 17:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Pauli Virtanen @ 2026-04-06 10:55 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

test-runner cannot run as pid 1 inside VM when built with ASAN enabled.
Drop MISC_CFLAGS/LDFLAGS from its build; the additional flags they
contain beyond ASAN enable are not important for test-runner build.
---
 Makefile.tools | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.tools b/Makefile.tools
index 4a51762c3..8e0eae04e 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -321,6 +321,9 @@ tools_btgatt_server_SOURCES = tools/btgatt-server.c src/uuid-helper.c
 tools_btgatt_server_LDADD = src/libshared-mainloop.la \
 						lib/libbluetooth-internal.la
 
+tools_test_runner_CFLAGS = $(WARNING_CFLAGS)
+tools_test_runner_LDFLAGS =
+
 tools_rctest_LDADD = lib/libbluetooth-internal.la
 
 tools_l2test_LDADD = lib/libbluetooth-internal.la
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-06 17:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-06 10:55 [PATCH BlueZ] build: never build test-runner with ASAN Pauli Virtanen
2026-04-06 11:59 ` [BlueZ] " bluez.test.bot
2026-04-06 17:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox