From b361341b2866b56bc7f415c90aa82949bb9c0b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Dubreuil?= Date: Mon, 26 Apr 2021 18:21:26 -0400 Subject: [PATCH 1/2] GCC support for C++20 --- conf/build-system/machine/native/compiler/gcc.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/build-system/machine/native/compiler/gcc.ini b/conf/build-system/machine/native/compiler/gcc.ini index e69de29b..0e462ed8 100644 --- a/conf/build-system/machine/native/compiler/gcc.ini +++ b/conf/build-system/machine/native/compiler/gcc.ini @@ -0,0 +1,6 @@ +[binaries] +c_ld = 'bfd' +cpp_ld = 'bfd' + +[built-in options] +cpp_args = ['-fmodules-ts'] \ No newline at end of file From 702baa927ff67358035f0d94cc441cbc635491fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Dubreuil?= Date: Mon, 26 Apr 2021 18:21:31 -0400 Subject: [PATCH 2/2] Clang support for C++20 --- conf/build-system/machine/native/compiler/clang.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/build-system/machine/native/compiler/clang.ini b/conf/build-system/machine/native/compiler/clang.ini index e69de29b..ff0b620c 100644 --- a/conf/build-system/machine/native/compiler/clang.ini +++ b/conf/build-system/machine/native/compiler/clang.ini @@ -0,0 +1,6 @@ +[binaries] +c_ld = 'lld-link' +cpp_ld = 'lld-link' + +[built-in options] +cpp_args = ['-fmodules'] \ No newline at end of file