1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 10:52:44 +01:00

compile_commands: Filter out GCC-only -malign-data=natural

This commit is contained in:
chrysn 2021-11-16 08:56:47 +01:00
parent 6246ab70d1
commit d0ed537bae

View File

@ -288,5 +288,8 @@ if __name__ == '__main__':
if _args.clangd:
_args.add_built_in_includes = True
_args.add_libstdcxx_includes = True
_args.filter_out = ['-Wformat-truncation', '-Wformat-overflow', '-mno-thumb-interwork']
_args.filter_out = ['-Wformat-truncation', '-Wformat-overflow', '-mno-thumb-interwork',
# Only even included for versions of GCC that support it
'-malign-data=natural',
]
generate_compile_commands(_args)