summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDavid CARLIER2020-07-18 15:19:10 +0200
committerThomas Huth2021-03-20 06:33:17 +0100
commit630d86b7f2c3b4e1869e3c300cb7dbad35a51f36 (patch)
treed98f6c7de53a84e96683c2bcedd205c8f3806caa /configure
parenttests/unit/test-block-iothread: fix maybe-uninitialized error on GCC 11 (diff)
downloadqemu-630d86b7f2c3b4e1869e3c300cb7dbad35a51f36.tar.gz
qemu-630d86b7f2c3b4e1869e3c300cb7dbad35a51f36.tar.xz
qemu-630d86b7f2c3b4e1869e3c300cb7dbad35a51f36.zip
configure: fix for SunOS based systems
local directive make the configure fails on these systems. Signed-off-by: David Carlier <devnexen@gmail.com> Message-Id: <CA+XhMqy95D8X-QvBcEfL=a-Rkgy6aJtheskkqZwQkreru+T_Wg@mail.gmail.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 847bc4d095..61872096a8 100755
--- a/configure
+++ b/configure
@@ -111,7 +111,7 @@ error_exit() {
do_compiler() {
# Run the compiler, capturing its output to the log. First argument
# is compiler binary to execute.
- local compiler="$1"
+ compiler="$1"
shift
if test -n "$BASH_VERSION"; then eval '
echo >>config.log "