Skip to content

Instantly share code, notes, and snippets.

@ookiineko
Created July 24, 2023 13:11
Show Gist options
  • Save ookiineko/8bc96d53ab6ccfd15d843b7ce041fdb5 to your computer and use it in GitHub Desktop.
Save ookiineko/8bc96d53ab6ccfd15d843b7ce041fdb5 to your computer and use it in GitHub Desktop.
random cygwin fixes - cmake patch for llvm11+ libunwind build
--- origsrc/cmake-3.25.3/Modules/Platform/CYGWIN-Clang-ASM.cmake 1970-01-01 08:00:00.000000000 +0800
+++ src/cmake-3.25.3/Modules/Platform/CYGWIN-Clang-ASM.cmake 2023-07-24 20:50:00.899033700 +0800
@@ -0,0 +1 @@
+include(Platform/CYGWIN-GNU-ASM)
--- origsrc/cmake-3.25.3/Modules/Platform/CYGWIN-GNU-ASM.cmake 1970-01-01 08:00:00.000000000 +0800
+++ src/cmake-3.25.3/Modules/Platform/CYGWIN-GNU-ASM.cmake 2023-07-24 20:49:12.859578000 +0800
@@ -0,0 +1,2 @@
+include(Platform/CYGWIN-GNU)
+__cygwin_compiler_gnu(ASM)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment