Bug 1463036 - Use HAVE_ARM_NEON instead of BUILD_ARM_NEON for nsUTF8UtilsNEON.cpp. r=chmanchester

There is a subtle difference between the two, and the conditions used in
nsUTF8Utils.h correspond to HAVE_ARM_NEON, not BUILD_ARM_NEON.
This commit is contained in:
Mike Hommey 2018-05-22 07:56:54 +09:00
parent 09d5ef6ba1
commit 29211f60da

View File

@ -57,7 +57,7 @@ if CONFIG['INTEL_ARCHITECTURE']:
SOURCES += ['nsReadableUtilsSSE2.cpp']
SOURCES['nsReadableUtilsSSE2.cpp'].flags += CONFIG['SSE2_FLAGS']
if CONFIG['BUILD_ARM_NEON'] or CONFIG['CPU_ARCH'] == 'aarch64':
if CONFIG['HAVE_ARM_NEON'] or CONFIG['CPU_ARCH'] == 'aarch64':
SOURCES += ['nsUTF8UtilsNEON.cpp']
SOURCES['nsUTF8UtilsNEON.cpp'].flags += CONFIG['NEON_FLAGS']