Browse Source

* 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 -
florian 8 năm trước cách đây
mục cha
commit
e12e47c01a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      compiler/pp.pas

+ 1 - 0
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 }