$OpenBSD: patch-ConfigureChecks_cmake,v 1.4 2020/03/31 18:46:01 kn Exp $

Fix exit code.

Index: ConfigureChecks.cmake
--- ConfigureChecks.cmake.orig
+++ ConfigureChecks.cmake
@@ -302,7 +302,7 @@ check_c_source_compiles("
 __thread int tls;
 
 int main(void) {
-    return 0;
+    return tls;
 }" HAVE_GCC_THREAD_LOCAL_STORAGE)
 
 check_c_source_compiles("
