While meson has built-in support for cross-compilation, there can be things inside the meson.build files which cause problems in a cross-compile environment. This patchset fixes a number of issues found when doing test builds for arm architecture.
NOTE: this patchset only contains the fixes made to existing code. The additional files needed for building for an arm target will be sent out as an RFC patch separately, to be picked up by those more familiar with arm architecture and hopefully turned into a production-ready patchset. The resulting arm build was not test run on any platform. Bruce Richardson (2): build: remove architecture flag as default C flag net/pcap: fix cross compilation app/test-pmd/meson.build | 1 + buildtools/pmdinfogen/meson.build | 3 +-- config/meson.build | 8 ++++++-- drivers/meson.build | 2 +- drivers/net/i40e/meson.build | 2 +- drivers/net/ixgbe/meson.build | 2 +- drivers/net/pcap/meson.build | 21 +++++++++++++++------ examples/meson.build | 2 +- lib/meson.build | 2 +- meson.build | 2 +- 10 files changed, 29 insertions(+), 16 deletions(-) -- 2.14.3