# HG changeset patch # User Mike Hommey # Date 1526943414 -32400 # Node ID 148f7751edadbff34f499baa456f7d95c2345f75 # Parent 281263085e24d68a21c13856d1e85577ef09af0c 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. diff --git a/xpcom/string/moz.build b/xpcom/string/moz.build --- a/xpcom/string/moz.build +++ b/xpcom/string/moz.build @@ -54,13 +54,13 @@ UNIFIED_SOURCES += [ # Are we targeting x86 or x86-64? If so, compile the SSE2 functions for # nsUTF8Utils.cpp and nsReadableUtils.cpp. if CONFIG['INTEL_ARCHITECTURE']: SOURCES += ['nsUTF8UtilsSSE2.cpp'] SOURCES['nsUTF8UtilsSSE2.cpp'].flags += CONFIG['SSE2_FLAGS'] 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'] FINAL_LIBRARY = 'xul'