move FreeBSD stack config flags to sconfig (insteda of configure)
svn: r16748
This commit is contained in:
parent
e9ba1bb480
commit
a00aa188ea
2
src/configure
vendored
2
src/configure
vendored
|
@ -5841,8 +5841,6 @@ case $OS in
|
|||
FreeBSD)
|
||||
LIBS="$LIBS -rdynamic -pthread"
|
||||
DYN_CFLAGS="-fPIC"
|
||||
# With pthreads enabled, initial thread's stack size doesn't use rlimit:
|
||||
MZOPTIONS="$MZOPTIONS -DASSUME_FIXED_STACK_SIZE -DFIXED_STACK_SIZE=1048576"
|
||||
;;
|
||||
OpenBSD)
|
||||
LIBS="$LIBS -rdynamic -Wl,--export-dynamic"
|
||||
|
|
|
@ -551,8 +551,6 @@ case $OS in
|
|||
FreeBSD)
|
||||
LIBS="$LIBS -rdynamic -pthread"
|
||||
DYN_CFLAGS="-fPIC"
|
||||
# With pthreads enabled, initial thread's stack size doesn't use rlimit:
|
||||
MZOPTIONS="$MZOPTIONS -DASSUME_FIXED_STACK_SIZE -DFIXED_STACK_SIZE=1048576"
|
||||
;;
|
||||
OpenBSD)
|
||||
LIBS="$LIBS -rdynamic -Wl,--export-dynamic"
|
||||
|
|
|
@ -340,9 +340,14 @@
|
|||
# include "uconfig.h"
|
||||
# undef HAS_STANDARD_IOB
|
||||
|
||||
/* pthreads always enabled via configure': */
|
||||
# undef USE_ITIMER
|
||||
# define USE_PTHREAD_THREAD_TIMER
|
||||
|
||||
/* initial pthread's stack size doesn't use rlimit: */
|
||||
# define ASSUME_FIXED_STACK_SIZE
|
||||
# define FIXED_STACK_SIZE 1048576
|
||||
|
||||
# define HAS_BSD_IOB
|
||||
|
||||
# ifdef FREEBSD_VERSION_2x
|
||||
|
|
Loading…
Reference in New Issue
Block a user