reason = 'not supported on Windows'
endif
-if (arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')) and (arch_subdir != 'arm' or not host_machine.cpu_family().startswith('aarch64'))
+if (arch_subdir != 'x86' and arch_subdir != 'arm') or (not dpdk_conf.get('RTE_ARCH_64'))
build = false
reason = 'only supported on x86_64 and aarch64'
endif
# Enable more warnings
extra_flags += [
- '-Wdisabled-optimization'
+ '-Wdisabled-optimization',
]
# Compiler and version dependent flags
extra_flags += [
'-Waggregate-return',
- '-Wbad-function-cast'
+ '-Wbad-function-cast',
]
foreach flag: extra_flags