diff --git a/brightray/brightray.gypi b/brightray/brightray.gypi index 83406e4c8e0b..8832d52f9fb4 100644 --- a/brightray/brightray.gypi +++ b/brightray/brightray.gypi @@ -203,12 +203,12 @@ 'BasicRuntimeChecks': '3', # 3 = all checks enabled, 0 = off }, 'VCLinkerTool': { - 'OptimizeReferences': 2, # /OPT:REF + 'OptimizeReferences': 2, # /OPT:REF 'EnableCOMDATFolding': 2, # /OPT:ICF }, }, 'conditions': [ - ['OS=="linux"', { + ['OS=="linux" and target_arch=="x64"', { 'defines': [ '_GLIBCXX_DEBUG', ],