Bug 1369932 - Fix typo in aom build description. draft
authorRalph Giles <giles@mozilla.com>
Thu, 22 Jun 2017 17:36:28 -0700
changeset 599334 f98c71e0bc412176bd7f9a8d66b7800975867c69
parent 599330 3e49ea2d21713420e3f84c2265cbbfc0a68a1766
child 599335 31667983e069c11dc10564ac09a5e4ca5ebf8749
child 599765 6dff34a591c7cd522466bf76a2f1d9c32a1a021f
push id65487
push userbmo:giles@thaumas.net
push dateFri, 23 Jun 2017 00:38:25 +0000
bugs1369932
milestone56.0a1
Bug 1369932 - Fix typo in aom build description. The configuration object is spelled with capitals. We didn't try to build this code on Windows previously, so short-circuit evaluation saved us from hitting the mistake. MozReview-Commit-ID: FCGtHW8Dzlw
media/libaom/moz.build
--- a/media/libaom/moz.build
+++ b/media/libaom/moz.build
@@ -93,17 +93,17 @@ if CONFIG['CLANG_CL'] or not CONFIG['_MS
             SOURCES[f].flags += ['-mssse3']
         elif f.endswith('sse4.c'):
             SOURCES[f].flags += ['-msse4.1']
         elif f.endswith('avx.c'):
             SOURCES[f].flags += ['-mavx']
         elif f.endswith('avx2.c'):
             SOURCES[f].flags += ['-mavx2']
 
-if CONFIG['_MSC_VER'] and not config['CLANG_CL']:
+if CONFIG['_MSC_VER'] and not CONFIG['CLANG_CL']:
     for f in SOURCES:
         if f.endswith('avx.c'):
             SOURCES[f].flags += ['-arch:AVX']
         if f.endswith('avx2.c'):
             SOURCES[f].flags += ['-arch:AVX2']
 
 # Suppress warnings in third-party code.
 if CONFIG['GNU_CC'] or CONFIG['CLANG_CL']: