X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fos2.sh;h=43b4b8ea49b58c736c8487613e0ebdd07e5a9864;hb=d84bea6a560458ec6168f312a9ed7883007af513;hp=d4fb71df2adf6cbe6bd19ef27c1d6d650e1a0e3a;hpb=a5f75d667838e8e7bb037880391f5c44476d33b4;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/os2.sh b/hints/os2.sh index d4fb71d..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