[gtk/gbsneto/windows-link] WIP: Disable LTCG
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gbsneto/windows-link] WIP: Disable LTCG
- Date: Fri, 22 Jul 2022 02:47:17 +0000 (UTC)
commit 2a61a16b9da07d32c760ec43505071d03433a4ad
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Jul 21 23:18:25 2022 -0300
WIP: Disable LTCG
meson.build | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/meson.build b/meson.build
index 305822a165..ecd2cd0595 100644
--- a/meson.build
+++ b/meson.build
@@ -255,13 +255,17 @@ if cc.get_id() == 'msvc'
'-FImsvc_recommended_pragmas.h',
'-D_USE_MATH_DEFINES',
'-utf-8',
+ '/bigobg',
+ '/GL',
]
add_project_arguments(cc.get_supported_arguments(test_cflags), language: 'c')
+ add_project_link_arguments('/LTCG', 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', 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]