Skip to content

Commit

Permalink
try the magic MSVC option
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Nov 30, 2024
1 parent 541c78a commit ececdfe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
#"Optimization": 0, # 0:/Od disable, 1:/O1 min size, 2:/O2 max speed, 3:/Ox full optimization
#"InlineFunctionExpansion": 0, #0:/Ob0: disable, 1:/Ob1 inline only marked funtions, 2:/Ob2 inline anything eligible
"AdditionalOptions": [
"/MP", # compile across multiple CPUs
"/GR", # force RTTI
"/EHsc", # same for ExceptionHandling
"/permissive" # for the new MSVC in Github Actions, mostly related to const char to char conversions
"/MP", # compile across multiple CPUs
"/GR", # force RTTI
"/EHsc", # same for ExceptionHandling
"/permissive-" # for the new MSVC in Github Actions, mostly related to const char to char conversions
],
# see https://github.com/nodejs/node-gyp/issues/2412
"AdditionalOptions/": [
Expand Down

0 comments on commit ececdfe

Please sign in to comment.