move FreeBSD stack config flags to sconfig (insteda of configure)

svn: r16748
This commit is contained in:
Matthew Flatt 2009-11-13 17:35:36 +00:00
parent e9ba1bb480
commit a00aa188ea
3 changed files with 5 additions and 4 deletions

2
src/configure vendored
View File

@ -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"

View File

@ -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"

View File

@ -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