All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artyom Kunakovsky <artyomkunakovsky@gmail.com>
To: qemu-devel@nongnu.org
Cc: Artyom Kunakovsky <artyomkunakovsky@gmail.com>
Subject: [PATCH] meson.build: add -mcx16 flag
Date: Wed, 22 May 2024 22:30:16 +0300	[thread overview]
Message-ID: <20240522193016.136866-1-artyomkunakovsky@gmail.com> (raw)

fix linker error if the project was configured by the './configure --cpu=unknown --target-list=riscv64-softmmu' command

Signed-off-by: Artyom Kunakovsky <artyomkunakovsky@gmail.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index a9de71d450..0c24878c86 100644
--- a/meson.build
+++ b/meson.build
@@ -298,7 +298,7 @@ endforeach
 
 qemu_common_flags = [
   '-D_GNU_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE',
-  '-fno-strict-aliasing', '-fno-common', '-fwrapv' ]
+  '-fno-strict-aliasing', '-fno-common', '-fwrapv', '-mcx16' ]
 qemu_cflags = []
 qemu_ldflags = []
 
-- 
2.25.1



             reply	other threads:[~2024-05-22 20:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-22 19:30 Artyom Kunakovsky [this message]
2024-05-23  8:02 ` [PATCH] meson.build: add -mcx16 flag Daniel P. Berrangé
2024-05-23  8:35   ` Artyom Kunakovsky
2024-05-23  8:52   ` Peter Maydell
2024-05-23  9:14     ` Daniel P. Berrangé
2024-05-23 10:12 ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240522193016.136866-1-artyomkunakovsky@gmail.com \
    --to=artyomkunakovsky@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.