diff options
author | Laszlo Molnar <laszlo.molnar@eth.ericsson.se> | 1998-02-25 12:17:07 +0100 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-02-25 15:36:38 +0000 |
commit | 9731c6ca89275fa6ca122bfe3be4600e5836a905 (patch) | |
tree | b8a12b2ca4810de346b17471c3a936465bd8dccd /hints/dos_djgpp.sh | |
parent | 252aaa99f59e027e0db4a41b048793d272c20d50 (diff) | |
download | perl-9731c6ca89275fa6ca122bfe3be4600e5836a905.tar.gz |
dos-djgpp update
p4raw-id: //depot/perl@584
Diffstat (limited to 'hints/dos_djgpp.sh')
-rw-r--r-- | hints/dos_djgpp.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hints/dos_djgpp.sh b/hints/dos_djgpp.sh index 85455c3852..f50cd01884 100644 --- a/hints/dos_djgpp.sh +++ b/hints/dos_djgpp.sh @@ -2,6 +2,7 @@ # Original by Laszlo Molnar <molnarl@cdata.tvnet.hu> # 971015 - archname changed from 'djgpp' to 'dos-djgpp' +# 971210 - threads support archname='dos-djgpp' archobjs='djgpp.o' @@ -38,7 +39,7 @@ startperl='#!perl' case "X$optimize" in X) - optimize="-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2" + optimize="-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2" ;; esac ldflags='-s' @@ -61,3 +62,11 @@ case "\$1\$2" in esac exec tr.exe "\$@" EOSC + +if [ "X$usethreads" != "X" ]; then + ccflags="-DUSE_THREADS $ccflags" + cppflags="-DUSE_THREADS $cppflags" + set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'` + shift + libswanted="$*" +fi |