X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fos2.sh;h=43b4b8ea49b58c736c8487613e0ebdd07e5a9864;hb=d84bea6a560458ec6168f312a9ed7883007af513;hp=c9726656b82ef82429d6cde8faba1caa7a81912e;hpb=9a5ea77892c142073969a964667e310fa1a1a18c;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/os2.sh b/hints/os2.sh index c972665..43b4b8e 100644 --- a/hints/os2.sh +++ b/hints/os2.sh @@ -39,7 +39,7 @@ if [ "$emxaout" != "" ]; then d_fork='define' lddlflags='-Zdll' ldflags='-Zexe' - ccflags='-DDOSISH -DNO_SYS_ALLOC -DOS2=2 -DEMBED -I.' + ccflags='-DDOSISH -DNO_SYS_ALLOC -DOS2=2 -DEMBED -I. -DPACK_MALLOC' use_clib='c' else d_shrplib='define' @@ -49,8 +49,9 @@ else plibext='.lib' d_fork='undef' lddlflags='-Zdll -Zomf -Zcrtdll' - ldflags='-Zexe -Zomf -Zcrtdll' - ccflags='-Zomf -DDOSISH -DOS2=2 -DEMBED -I.' + # Recursive regmatch may eat 2.5M of stack alone. + ldflags='-Zexe -Zomf -Zcrtdll -Zstack 32000' + ccflags='-Zomf -DDOSISH -DOS2=2 -DEMBED -I. -DPACK_MALLOC' use_clib='c_import' fi @@ -84,10 +85,6 @@ usedl='define' #cppflags='-DDOSISH -DOS2=2 -DEMBED -I.' -# This variables taken from recommended config.sh -# [Does Configure get it wrong?] -alignbytes='8' - # for speedup: (some patches to ungetc are also needed): # Note that without this guy tests 8 and 10 of io/tell.t fail, with it 11 fails