mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-25 04:12:12 +03:00
fix tls_model autoconf test
It has an unused variable, so it was always failing (at least with gcc 4.9.1). Alternatively, the `-Werror` flag could be removed if it isn't strictly necessary.
This commit is contained in:
parent
ebca69c9fb
commit
f1cf3ea475
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@ SAVED_CFLAGS="${CFLAGS}"
|
|||
JE_CFLAGS_APPEND([-Werror])
|
||||
JE_COMPILABLE([tls_model attribute], [],
|
||||
[static __thread int
|
||||
__attribute__((tls_model("initial-exec"))) foo;
|
||||
__attribute__((tls_model("initial-exec"), unused)) foo;
|
||||
foo = 0;],
|
||||
[je_cv_tls_model])
|
||||
CFLAGS="${SAVED_CFLAGS}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue