diff options
author | Renato Botelho do Couto <renato@netgate.com> | 2024-06-20 11:01:40 -0500 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2024-07-12 12:40:15 +0000 |
commit | e69ec9c101883a7bc90fdac6d28ddf8e9429b466 (patch) | |
tree | 1c332ca7d331aacaec8c189ae5be672ef1776721 /src/plugins/af_packet/af_packet.h | |
parent | d18726eaac8f06aaaebca3e8c42590870de2af21 (diff) |
build: Fix crossbuilding definitions
CMAKE_C_COMPILER_TARGET doesn't need to be set when it's not cross
compiling, and based on wrong identation of that line I suspect it was
intended to be inside CMAKE_CROSSCOMPILING conditional.
With this line moved inside, it ends up being the only place where
COMPILER_SUFFIX is used, so, move its declaration there as well.
It will not bring any change to currently supported systems but will
make it easier to build VPP on systems running musl libc.
Type: fix
Change-Id: Ia8e16d9e8ad9c987ddf246dd0e3f8636ccad1362
Signed-off-by: Renato Botelho do Couto <renato@netgate.com>
Diffstat (limited to 'src/plugins/af_packet/af_packet.h')
0 files changed, 0 insertions, 0 deletions