* [PATCH v2 3/4] Add the GNU/Hurd as a target host
@ 2024-01-18 16:03 Manolo de Medici
2024-01-22 17:10 ` Peter Maydell
0 siblings, 1 reply; 2+ messages in thread
From: Manolo de Medici @ 2024-01-18 16:03 UTC (permalink / raw)
To: qemu-devel, bug-hurd
Signed-off-by: Manolo de Medici <manolo.demedici@gmail.com>
---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index 21ab9a64e9..fb11ede5b2 100755
--- a/configure
+++ b/configure
@@ -353,6 +353,8 @@ elif check_define __NetBSD__; then
host_os=netbsd
elif check_define __APPLE__; then
host_os=darwin
+elif check_define __GNU__; then
+ host_os=hurd
else
# This is a fatal error, but don't report it yet, because we
# might be going to just print the --help text, or it might
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 3/4] Add the GNU/Hurd as a target host
2024-01-18 16:03 [PATCH v2 3/4] Add the GNU/Hurd as a target host Manolo de Medici
@ 2024-01-22 17:10 ` Peter Maydell
0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2024-01-22 17:10 UTC (permalink / raw)
To: Manolo de Medici; +Cc: qemu-devel, bug-hurd
On Thu, 18 Jan 2024 at 16:04, Manolo de Medici <manolodemedici@gmail.com> wrote:
>
> Signed-off-by: Manolo de Medici <manolo.demedici@gmail.com>
> ---
> configure | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/configure b/configure
> index 21ab9a64e9..fb11ede5b2 100755
> --- a/configure
> +++ b/configure
> @@ -353,6 +353,8 @@ elif check_define __NetBSD__; then
> host_os=netbsd
> elif check_define __APPLE__; then
> host_os=darwin
> +elif check_define __GNU__; then
> + host_os=hurd
> else
Meson's official value for the OS name for GNU Hurd
is "gnu":
https://mesonbuild.com/Reference-tables.html#operating-system-names
so we should use the same string here in configure too.
thanks
-- PMM
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-22 17:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-18 16:03 [PATCH v2 3/4] Add the GNU/Hurd as a target host Manolo de Medici
2024-01-22 17:10 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).