Skip to content

Commit

Permalink
win,build: add ARM64 sections to common.gypi
Browse files Browse the repository at this point in the history
PR-URL: #25995
Reviewed-By: João Reis <reis@janeasystems.com>
  • Loading branch information
jkunkee authored and BridgeAR committed Mar 12, 2019
1 parent 8e60193 commit 7e4592e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,14 @@
}],
],
}],
['target_arch=="arm64"', {
'TargetMachine' : 0, # /MACHINE:ARM64 is inferred from the input files.
'target_conditions': [
['_type=="executable"', {
'AdditionalOptions': [ '/SubSystem:Console' ],
}],
],
}],
],
'GenerateDebugInformation': 'true',
'GenerateMapFile': 'true', # /MAP
Expand All @@ -315,6 +323,9 @@
# Ususaly safe. Disable for `dep`, enable for `src`
'msvs_disabled_warnings': [4351, 4355, 4800, 4251, 4275, 4244, 4267],
'conditions': [
[ 'target_arch=="arm64"', {
'msvs_configuration_platform': 'arm64',
}],
['asan == 1 and OS != "mac"', {
'cflags+': [
'-fno-omit-frame-pointer',
Expand Down

0 comments on commit 7e4592e

Please sign in to comment.