]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: fix parameter expansion of --cross-cc-cflags options
authorMatheus Ferst <matheus.ferst@eldorado.org.br>
Thu, 20 Jan 2022 17:31:41 +0000 (14:31 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Jan 2022 10:13:33 +0000 (11:13 +0100)
commit479ca4ccd54afcd54b0163532709079233d64b97
tree3631337cbc95634f2b4ad75bc52ec95e77fbd4d2
parenta66bd91f030827742778a9e0da19fe55716b4a60
configure: fix parameter expansion of --cross-cc-cflags options

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 name

Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20220120173142.2755077-1-matheus.ferst@eldorado.org.br>
[Fix other occurrences too, noted by Philippe Mathieu-Daudé. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
docs/devel/testing.rst