diff options
Diffstat (limited to 'hints/os2.sh')
-rw-r--r-- | hints/os2.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hints/os2.sh b/hints/os2.sh index 0560175ae1..1744fa96dd 100644 --- a/hints/os2.sh +++ b/hints/os2.sh @@ -289,6 +289,20 @@ for xxx in * ; do fi done +# This script UU/usethreads.cbu will get 'called-back' by Configure +# after it has prompted the user for whether to use threads. +cat > UU/usethreads.cbu <<'EOCBU' +case "$usethreads" in +$define|true|[yY]*) +esac + ccflags="-Zmt $ccflags" + cppflags="-Zmt $cppflags" # Do we really need to set this? + aout_ccflags="-DUSE_THREADS $aout_ccflags" + aout_cppflags="-DUSE_THREADS $aout_cppflags" + aout_lddlflags="-Zmt $aout_lddlflags" + aout_ldflags="-Zmt $aout_ldflags" + ;; +EOCBU # Now go back cd ../.. |