Lines 52-58
Link Here
|
52 |
LIBC_R!= /sbin/ldconfig -r | grep c_r || true |
52 |
LIBC_R!= /sbin/ldconfig -r | grep c_r || true |
53 |
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes |
53 |
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes |
54 |
CONFIGURE_ARGS+= --with-thread |
54 |
CONFIGURE_ARGS+= --with-thread |
55 |
CFLAGS+= -D_THREAD_SAFE |
55 |
CFLAGS+= -D_THREAD_SAFE -pthread |
56 |
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}" |
56 |
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}" |
57 |
.endif |
57 |
.endif |
58 |
|
58 |
|