
than having CFLAGS= in the template files. It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless the template overrides it.
8 lines
265 B
Plaintext
8 lines
265 B
Plaintext
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
|
|
CPPFLAGS="-D_GNU_SOURCE"
|
|
|
|
THREAD_SUPPORT=yes
|
|
NEED_REENTRANT_FUNCS=yes # Debian kernel 2.2 2003-09-27
|
|
THREAD_CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS"
|
|
THREAD_LIBS="-lpthread"
|