From e12e47c01a1af8468cf87eec8a6809173c823d0b Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 11 Mar 2017 14:59:37 +0000 Subject: [PATCH] * set pe flag on win32 for the pp executable that it is "large aware" (tested by allocating 1.5 GB before real compilation starts, no regressions found), resolves #31517 git-svn-id: trunk@35564 - --- compiler/pp.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/pp.pas b/compiler/pp.pas index f003279aa7..b3f7813083 100644 --- a/compiler/pp.pas +++ b/compiler/pp.pas @@ -152,6 +152,7 @@ program pp; { 256 MB stack } { under windows the stack can't grow } {$MAXSTACKSIZE 256000000} + {$setpeflags $20} {$else win32} {$ifdef win64} { 512 MB stack }