Do not mark malloc_conf as weak for unit tests.
This is generally correct (no need for weak symbols since no jemalloc library is involved in the link phase), and avoids linking problems (apparently unininitialized non-NULL malloc_conf) when using cygwin with gcc.
This commit is contained in:
parent
ed84764a2a
commit
35799a5030
@ -5,7 +5,11 @@
|
||||
/* Data. */
|
||||
|
||||
/* Runtime configuration options. */
|
||||
const char *je_malloc_conf JEMALLOC_ATTR(weak);
|
||||
const char *je_malloc_conf
|
||||
#ifndef JEMALLOC_JET
|
||||
JEMALLOC_ATTR(weak)
|
||||
#endif
|
||||
;
|
||||
bool opt_abort =
|
||||
#ifdef JEMALLOC_DEBUG
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user