[PATCH] meson: add support for clang LTO

2022-04-04 Thread Mahdi Rakhshandehroo
nfogen happy, but also embeds IR bitcode in a special section of the ELF that lld can then use to construct the final binary. Signed-off-by: Mahdi Rakhshandehroo --- config/meson.build | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/config/meson.build b/con

[PATCH v2] meson: add support for clang LTO

2022-04-04 Thread Mahdi Rakhshandehroo
nfogen happy, but also embeds IR bitcode in a special section of the ELF that lld can then use to construct the final binary. Signed-off-by: Mahdi Rakhshandehroo --- Forgot to remove get_linker_id() check from the previous patch - that function is only available in Meson >= 0.54. config/meson.