diff options
-rw-r--r-- | hints/os2.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hints/os2.sh b/hints/os2.sh index eb11ff593e..09f82d5da1 100644 --- a/hints/os2.sh +++ b/hints/os2.sh @@ -169,9 +169,9 @@ else else d_fork='undef' fi - lddlflags="-Zdll -Zomf -Zmt -Zcrtdll $ld_dll_optimize" + lddlflags="-Zdll -Zomf -Zmt -Zcrtdll -Zlinker /e:2 $ld_dll_optimize" # Recursive regmatch may eat 2.5M of stack alone. - ldflags='-Zexe -Zomf -Zmt -Zcrtdll -Zstack 32000' + ldflags='-Zexe -Zomf -Zmt -Zcrtdll -Zstack 32000 -Zlinker /e:2' if [ $emxcrtrev -ge 50 ]; then ccflags="-Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. $_defemxcrtrev" else |