Christopher Obbard 73b135d125 meson: add option to build debugcc as a dynamically linked binary
debugcc is currently linked statically using -static and -static-libgcc.
This can cause issues for distributions that prefer dynamically linked
binaries (e.g. larger binaries and duplicated runtime code which could
otherwise be shared).

Add a Meson boolean option `dynamic-linking` which when enabled removes
the explicit static link flags so that debugcc is built as a dynamically
linked binary using the default toolchain behaviour. The default for this
option is false so that existing builds continue to get a statically
linked binary unless they opt in to dynamic linking.

Signed-off-by: Christopher Obbard <christopher.obbard@linaro.org>
2025-12-05 11:46:19 +00:00
2021-11-30 19:46:22 -06:00
2025-07-04 16:40:16 +02:00
2025-07-04 16:40:16 +02:00
2023-11-08 12:29:50 +01:00
2021-11-30 19:46:46 -06:00
2025-07-04 16:40:16 +02:00
2025-11-07 09:17:08 +01:00
2025-07-04 16:40:16 +02:00
2024-01-25 11:36:23 +01:00
2025-07-04 16:40:16 +02:00
2023-06-14 13:05:30 +01:00
2025-07-04 16:40:16 +02:00
2025-07-04 16:40:16 +02:00
2024-01-25 11:36:25 +01:00
2025-07-04 16:40:16 +02:00
2025-07-04 16:40:16 +02:00
2025-07-04 16:40:16 +02:00
2025-07-04 16:40:16 +02:00
2025-07-04 16:40:16 +02:00
2025-07-04 16:40:16 +02:00

Kernel config depependencies:

  • CONFIG_IO_STRICT_DEVMEM=n
Description
No description provided
Readme BSD-3-Clause 248 KiB
Languages
C 99.4%
Meson 0.6%