MAINT: Move -m64 out to cpu_family()
This commit is contained in:
parent
9d9b4337ad
commit
61aab3ce11
|
@ -83,7 +83,6 @@ _static_libs += static_library(
|
|||
'rot.c',
|
||||
include_directories: _inc,
|
||||
c_args: [
|
||||
'-m64',
|
||||
'-DSMP_SERVER',
|
||||
'-DNO_WARMUP',
|
||||
'-DMAX_CPU_NUMBER=12',
|
||||
|
|
|
@ -786,7 +786,6 @@ _configs = [
|
|||
'undef': ['COMPLEX', 'COMPLEX'],
|
||||
'def': ['DOUBLE'],
|
||||
'addl': [fma3_flag,
|
||||
'-m64',
|
||||
'-DSMP_SERVER',
|
||||
'-DNO_WARMUP',
|
||||
'-DMAX_CPU_NUMBER=12',
|
||||
|
|
|
@ -153,6 +153,10 @@ if cpu_fam in ['x86_64', 'ppc64', 'ppc']
|
|||
], language:'c')
|
||||
endif
|
||||
|
||||
if cpu_fam == 'x86_64'
|
||||
_cargs += ['-m64']
|
||||
endif
|
||||
|
||||
if fc_id == 'gcc'
|
||||
add_project_arguments('-DF_INTERFACE_GFORT', language: 'c')
|
||||
elif fc_id == 'g95'
|
||||
|
|
Loading…
Reference in New Issue