Skip to content

Commit 9b35001

Browse files
committed
Build debugcc as a dynamically linked binary
debugcc is currently linked statically using -static and -static-libgcc. This is not required for normal use and causes issues for distributions that prefer dynamically linked binaries, such as larger binaries and duplicated runtime code that would otherwise be shared. Drop the explicit static link flags and allow Meson to use the default toolchain behaviour so that debugcc is built as a dynamically linked binary instead. Signed-off-by: Christopher Obbard <[email protected]>
1 parent a01ea9e commit 9b35001

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

meson.build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,4 @@ debugcc_srcs += configure_file(
6161

6262
executable('debugcc',
6363
debugcc_srcs,
64-
link_args: ['-static','-static-libgcc'],
6564
install: true)

0 commit comments

Comments
 (0)