Skip to content

Commit

Permalink
Disables Thread-Safe for local static variables.
Browse files Browse the repository at this point in the history
Fixes sass#1283.
  • Loading branch information
am11 committed Jan 20, 2016
1 parent cd70fbd commit 9e5067b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@
'MACOSX_DEPLOYMENT_TARGET': '10.7'
}
}],
['OS=="win" and MSVS_VERSION == "2015"', {
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions': [
# disable Thread-Safe "Magic" for local static variables
'/Zc:threadSafeInit-',
],
},
},
}],
['OS!="win"', {
'cflags_cc+': [
'-std=c++0x'
Expand Down

0 comments on commit 9e5067b

Please sign in to comment.