Skip to content

Commit

Permalink
mingw: no longer apply mingw workaround for production
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilledheart committed Jun 24, 2024
1 parent 4b7ef97 commit b12204d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion third_party/libc++/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ if (WIN32)
trunk/src/support/win32/thread_win32.cpp
)
# hacks, override posix thread model tls implementation
if (MINGW)
if (MINGW AND MINGW_WORKAROUND)
set(libcxx_SOURCES
${libcxx_SOURCES}
emutls.cpp
Expand Down
1 change: 0 additions & 1 deletion tools/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,6 @@ func buildStageGenerateBuildScript() {
if targetAbi == "i686" {
cmakeArgs = append(cmakeArgs, "-DMINGW_MSVCRT100=ON")
}
cmakeArgs = append(cmakeArgs, "-DMINGW_WORKAROUND=ON")
llvm_version := getLLVMVersion()
clang_rt_suffix := targetAbi
if targetAbi == "i686" {
Expand Down

0 comments on commit b12204d

Please sign in to comment.