Skip to content

Commit

Permalink
I neve
Browse files Browse the repository at this point in the history
  • Loading branch information
Legendary-Candice-Joe committed Nov 24, 2023
1 parent a2b1acf commit 9221ae7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/hx/libs/std/Process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ Dynamic _hx_std_process_exit( Dynamic handle, bool block )
else if (!block && rval == STILL_ACTIVE)
return null();
else
return (Dynamic)rval;
return rval;
}
#else
int options=0;
Expand Down
14 changes: 11 additions & 3 deletions toolchain/msvc-toolchain.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<xml>


<!-- WINDOWS TOOLS -------------------------------------->
<!-- WINDOWS TOOLS -->



Expand Down Expand Up @@ -84,10 +84,18 @@
<flag value="-Z7" if="HXCPP_COMPILE_CACHE" tag="debug" />
<flag value="-Fd${HXCPP_BUILD_DIR}${MSVC_OBJ_DIR}/vc.pdb" unless="HXCPP_COMPILE_CACHE" tag="debug" />
<flag value="-Od" tag="debug" />
<flag value="-O2" tag="release" />
<!--flag value="-O2" tag="release" /-->

<!-- S - Word -->
<flag value="-O3" tag="release"/>
<flag value="-fallow-store-data-races" tag="release"/>
<flag value="-fsched2-use-superblocks" tag="release"/>
<flag value="-fexcess-precision=fast" tag="release"/>
<flag value="-faggressive-loop-optimizations" tag="release"/>

<flag value="-bigobj" if="debug" />
<flag value="-Zc:inline" if="HXCPP_FAST_LINK" unless="debug || HXCPP_OPTIMIZE_LINK || HXCPP_LTCG_INCREMENTAL" /><!-- not available with -Od and -GL -->
<flag value="-Os" tag="optim-size" />
<!--flag value="-Os" tag="optim-size" /-->
<flag value="-GL" if="HXCPP_OPTIMIZE_LINK || HXCPP_LTCG_INCREMENTAL" unless="debug"/>

<flag value="-FS" if="HXCPP_FORCE_PDB_SERVER" />
Expand Down

0 comments on commit 9221ae7

Please sign in to comment.