projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b402626
)
Catch inadvertent USE_TLS=0 declaration
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Wed, 19 Sep 2018 16:03:43 +0000
(18:03 +0200)
committer
GitHub
<noreply@github.com>
Wed, 19 Sep 2018 16:03:43 +0000
(18:03 +0200)
for #1766
driver/others/memory.c
patch
|
blob
|
history
diff --git
a/driver/others/memory.c
b/driver/others/memory.c
index
e73d53f
..
0019253
100644
(file)
--- a/
driver/others/memory.c
+++ b/
driver/others/memory.c
@@
-75,6
+75,11
@@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#if defined(USE_TLS) && defined(SMP)
#define COMPILE_TLS
+
+#if USE_TLS != 1
+#undef COMPILE_TLS
+#endif
+
#if defined(__GLIBC_PREREQ)
#if !__GLIBC_PREREQ(2,20)
#undef COMPILE_TLS