]> git.puffer.fish Git - matthieu/frr.git/commit
build: add more precious variables for cross-compilation
authorEmanuele Bovisio <emanuele.bovisio@eolo.it>
Fri, 30 Oct 2020 17:39:00 +0000 (18:39 +0100)
committerEmanuele Bovisio <emanuele.bovisio@eolo.it>
Fri, 6 Nov 2020 16:42:40 +0000 (17:42 +0100)
commit20fdd70fd037a2f04b4d8066b096d81779abd171
treeedd560d0cc7c3293bddcb460ae5db57632c6a362
parentf52e45dbdb529e1a24d1dc43586ed50f9785d194
build: add more precious variables for cross-compilation

Using AC_ARG_VAR function, it's possible to add LD, AR, OBJCOPY,
OBJDUMP, RANLIB and STRIP to the list of precious variables in
$ac_precious_vars for configure tool.

Doing this, we are enabling a new set of variables (HOST_LD, HOST_AR,
HOST_OBJCOPY, HOST_OBJDUMP, HOST_RANLIB and HOST_STRIP) useful for
cross-compiling when the target toolchain is prepending a prefix
to these tools.

Signed-off-by: Emanuele Bovisio <emanuele.bovisio@eolo.it>
configure.ac