mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 18:29:09 +02:00
wasm32 compiler target required -dNOOPT option
This commit is contained in:
parent
c9e8bfd118
commit
751417b685
@ -248,6 +248,8 @@ begin
|
|||||||
P.Options.Add('-dNOCATCH');
|
P.Options.Add('-dNOCATCH');
|
||||||
P.Options.Add('-dBrowserCol');
|
P.Options.Add('-dBrowserCol');
|
||||||
P.Options.Add('-dGDB');
|
P.Options.Add('-dGDB');
|
||||||
|
if CompilerTarget=wasm32 then
|
||||||
|
P.Options.Add('-dNOOPT');
|
||||||
|
|
||||||
CompilerDir:=P.Directory +'../../compiler';
|
CompilerDir:=P.Directory +'../../compiler';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user