]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: only link libgcc when compiler is gcc
authorDavid C. Manuelda <StormByte@gmail.com>
Fri, 4 Apr 2025 19:24:13 +0000 (21:24 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 4 Apr 2025 22:02:37 +0000 (07:02 +0900)
commit668d915a4bea202e739a9bd3f895c7269f320659
tree67f85844e3203ef90bfc4f19abe5ac783003d5e4
parent936e298f0e9e3b7a8077e11bb1dabf6d8d0abd30
boot: only link libgcc when compiler is gcc

When compiling in systems which do not have gcc installed
(like a musl+llvm system) the forced linkage "-lgcc" is
stopping it to compile. As when compiler is clang it do not
need to link explicitelly to gcc I've modified meson to only
link to gcc library when compiler is gcc.

Closes: #35162
src/boot/meson.build