Sometimes compile commands need to be adjusted if we are cross compiling. Clangd handles this by adding/removing flags in .clangd in the project or in a global config.yaml file. More details here
Filing this bug to see if codebrowser can also use the same extra config when processing the compile_commands.json