MINGW-packages/mingw-w64-llvm-16/0004-enable-emutls-for-mingw.patch
2025-01-23 09:34:32 +01:00

12 lines
410 B
Diff

--- a/include/llvm/TargetParser/Triple.h
+++ b/include/llvm/TargetParser/Triple.h
@@ -952,7 +952,7 @@
/// Tests whether the target uses emulated TLS as default.
bool hasDefaultEmulatedTLS() const {
- return isAndroid() || isOSOpenBSD() || isWindowsCygwinEnvironment();
+ return isAndroid() || isOSOpenBSD() || isOSCygMing();
}
/// Tests whether the target uses -data-sections as default.