[gtk/gbsneto/windows-link: 2/2] WIP: Disable LTCG
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gbsneto/windows-link: 2/2] WIP: Disable LTCG
- Date: Fri, 22 Jul 2022 02:19:49 +0000 (UTC)
commit 187b38b2d3053776ec69ddf08f2900365412bac7
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Jul 21 23:18:25 2022 -0300
WIP: Disable LTCG
meson.build | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index 305822a165..62607070b9 100644
--- a/meson.build
+++ b/meson.build
@@ -257,11 +257,13 @@ if cc.get_id() == 'msvc'
'-utf-8',
]
add_project_arguments(cc.get_supported_arguments(test_cflags), language: 'c')
+ add_project_link_arguments('/ltcg:off', language: 'c')
add_languages('cpp')
cxx = meson.get_compiler('cpp')
if cxx.get_id() == 'msvc'
add_project_arguments(cxx.get_supported_arguments(test_cflags), language: 'cpp')
+ add_project_link_arguments('/ltcg:off', language: 'cpp')
endif
elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
test_cflags = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]