mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Fix alloc_size configure test.
This commit is contained in:
parent
0b8f0bc0a4
commit
92d72eeef0
1 changed files with 2 additions and 3 deletions
|
|
@ -431,9 +431,8 @@ fi
|
|||
dnl Check for alloc_size attribute support.
|
||||
SAVED_CFLAGS="${CFLAGS}"
|
||||
JE_CFLAGS_APPEND([-Werror])
|
||||
JE_COMPILABLE([alloc_size attribute], [],
|
||||
[#include <stdlib.h>
|
||||
static void *foo(size_t size) __attribute__((alloc_size(1)));],
|
||||
JE_COMPILABLE([alloc_size attribute], [#include <stdlib.h>],
|
||||
[void *foo(size_t size) __attribute__((alloc_size(1)));],
|
||||
[je_cv_alloc_size])
|
||||
CFLAGS="${SAVED_CFLAGS}"
|
||||
if test "x${je_cv_alloc_size}" = "xyes" ; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue