ports/devel/cmocka/patches/patch-ConfigureChecks_cmake

13 lines
252 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: ConfigureChecks.cmake
--- ConfigureChecks.cmake.orig
+++ ConfigureChecks.cmake
@@ -109,7 +109,7 @@ check_c_source_compiles("
__thread int tls;
int main(void) {
- return 0;
+ return tls;
}" HAVE_GCC_THREAD_LOCAL_STORAGE)
if (WIN32)