diff options
author | Adrian Ratiu <adrian.ratiu@collabora.com> | 2021-08-26 17:44:11 +0300 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-08-31 19:19:05 +0000 |
commit | 61e66c37abb1b7f59726e4407ac8dd53e6b75cac (patch) | |
tree | f8d2bb1d8b56b4d917df5eb3b0d500511554cd46 /epan/capture_dissectors.h | |
parent | 49240e23b4cf890df67d81d1900f313d1193db8c (diff) |
cmake: lemon: allow overriding lemon CC setting
When cross-compiling wireshark the lemon tool should be built
using the host machine compiler to be run on the host. Before
cmake this was done via autotools CC_FOR_BUILD but cmake only
supports one compiler toolchain per build and requires some
workarounds like running cmake twice using separately defined
toolchains.
This gets ugly and complicated fast when considering multiple
toolchains, especially for a simple tool like lemon, so just
allow builds to override the C compiler and wipe the cflags.
This way systems like Gentoo/ChromeOS/Yocto with a properly
setup cross-compile environment can just point to the native
BUILD_CC or similar while minimizing complexity.
Diffstat (limited to 'epan/capture_dissectors.h')
0 files changed, 0 insertions, 0 deletions