aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/stlab/cross-build.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/stlab/cross-build.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/stlab/cross-build.patch')
-rw-r--r--vcpkg/ports/stlab/cross-build.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/ports/stlab/cross-build.patch b/vcpkg/ports/stlab/cross-build.patch
new file mode 100644
index 0000000..79a2fa4
--- /dev/null
+++ b/vcpkg/ports/stlab/cross-build.patch
@@ -0,0 +1,21 @@
+diff --git a/cmake/StlabUtil.cmake b/cmake/StlabUtil.cmake
+index 3e36278..aeb284f 100644
+--- a/cmake/StlabUtil.cmake
++++ b/cmake/StlabUtil.cmake
+@@ -2,14 +2,14 @@
+ # functionality useful for stlab builds.
+
+ include( CheckCXXSymbolExists )
+-include( CheckCXXSourceRuns )
++include( CheckCXXSourceCompiles )
+
+ # Determine if the selected C++ compiler has functional coroutines. Set the
+ # specified 'result_var' to 'TRUE' if they are determined to be disfunctional
+ # and 'FALSE' otherwise. Note that this check consists of a smoke test and does
+ # not check all the ways this feature may be deficient.
+ function( stlab_check_disfunctional_coroutines result_var )
+- check_cxx_source_runs( "
++ check_cxx_source_compiles( "
+ #include <concepts>
+ #include <coroutine>
+ #include <exception>