Skip to content

Commit

Permalink
additional options
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Dec 5, 2023
1 parent 9cc4af7 commit c1d1878
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions deps/base64/base64.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,19 @@
'sources': [ 'base64/lib/arch/ssse3/codec.c' ],
'defines': [ 'BASE64_STATIC_DEFINE', 'HAVE_SSSE3=1' ],
'conditions': [
[ 'OS!="win" or True', {
[ 'OS!="win"', {
'cflags': [ '-mssse3' ],
'xcode_settings': {
'OTHER_CFLAGS': [ '-mssse3' ]
},
}, {
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions': [
'-mssse3',
],
},
},
}],
],
},
Expand All @@ -95,11 +103,19 @@
'sources': [ 'base64/lib/arch/sse41/codec.c' ],
'defines': [ 'BASE64_STATIC_DEFINE', 'HAVE_SSE41=1' ],
'conditions': [
[ 'OS!="win" or True', {
[ 'OS!="win"', {
'cflags': [ '-msse4.1' ],
'xcode_settings': {
'OTHER_CFLAGS': [ '-msse4.1' ]
},
}, {
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions': [
'-msse4.1',
],
},
},
}],
],
},
Expand All @@ -111,11 +127,19 @@
'sources': [ 'base64/lib/arch/sse42/codec.c' ],
'defines': [ 'BASE64_STATIC_DEFINE', 'HAVE_SSE42=1' ],
'conditions': [
[ 'OS!="win" or True', {
[ 'OS!="win"', {
'cflags': [ '-msse4.2' ],
'xcode_settings': {
'OTHER_CFLAGS': [ '-msse4.2' ]
},
}, {
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions': [
'-msse4.2',
],
},
},
}],
],
},
Expand Down

0 comments on commit c1d1878

Please sign in to comment.