mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
SERVER-19427 Fix malformed one element tuples in processor_macros dictionary
This commit is contained in:
parent
74fd5c88ea
commit
c3bb28439a
@ -857,12 +857,15 @@ def CheckForToolchain(context, toolchain, lang_name, compiler_var, source_suffix
|
||||
|
||||
# These preprocessor macros came from
|
||||
# http://nadeausoftware.com/articles/2012/02/c_c_tip_how_detect_processor_type_using_compiler_predefined_macros
|
||||
#
|
||||
# NOTE: Remember to add a trailing comma to form any required one
|
||||
# element tuples, or your configure checks will fail in strange ways.
|
||||
processor_macros = {
|
||||
'x86_64': ('__x86_64', '_M_AMD64'),
|
||||
'i386': ('__i386', '_M_IX86'),
|
||||
'sparc': ('__sparc'),
|
||||
'sparc': ('__sparc',),
|
||||
'PowerPC': ('__powerpc__', '__PPC'),
|
||||
'arm' : ('__arm__'),
|
||||
'arm' : ('__arm__',),
|
||||
'arm64' : ('__arm64__', '__aarch64__'),
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user