mcst-linux-kernel/patches-2024.06.26/boost-1.83.0/0004-constexpr-depth-for-e2...

19 lines
499 B
Diff

Subject: -fconstexpr-depth=1024 flag for lcc (but check e2k, because it is easier)
Bug: 154008
Tags: lcc
--- a/tools/build/src/tools/gcc.jam 2023-11-22 23:08:56.137365320 +0300
+++ b/tools/build/src/tools/gcc.jam 2023-11-27 05:38:49.949756143 +0300
@@ -375,6 +375,11 @@ local rule compile-link-flags ( * )
}
{
+ # Handle constexpr depth for e2k
+ compile-link-flags <architecture>e2k : -fconstexpr-depth=1024 ;
+}
+
+{
# Handle threading
local rule threading-flags ( * )
{