configure: fix parameter expansion of --cross-cc-cflags options
A message that is not in the archive (sent off-list or not yet received): [email protected]
Philippe Mathieu-Daudé via
Reviewed-by Philippe Mathieu-DaudéQuoted 10 lines · On 1/24/22 18:23, [email protected] wrote:
From: Matheus Ferst <[email protected]>
Without this fix, any use of --cross-cc-cflags-* causes a message like:
$ ../configure --cross-cc-ppc64le=clang --cross-cc-cflags-ppc64le="-target powerpc64le-unknown-linux-gnu -sysroot ..." ../configure: 1: eval: cross_cc_cflags_--cross-cc-cflags-ppc64le=-target: not found ../configure: 3816: export: cross_cc_cflags_--cross-cc-cflags-ppc64le: bad variable nameAlso, update the documentation to reflect the option being parsed by configure.
Quoted 6 lines
Fixes d422b2bc23 ("configure: allow user to specify --cross-cc-cflags-foo=")Signed-off-by Matheus Ferst <[email protected]>--- configure | 4 ++-- docs/devel/testing.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>