From 2f680db530996204949edcf3f14c3c7569c1a21f Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sat, 2 Nov 2024 13:43:17 +0100 Subject: Assume unknown operating systems use ELF. There's a lot of new Unix-like operating systems out that that might port LibreSSL (my Sortix is among them) and they all use ELF. If the operating system doesn't use ELF or isn't an Unix, it doesn't have a chance at working out of this box anyway, and this change makes LibreSSL work on a generic and sufficiently featured POSIX system. --- m4/check-os-options.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'm4') diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4 index 91c3021..1f0b7e4 100644 --- a/m4/check-os-options.m4 +++ b/m4/check-os-options.m4 @@ -132,7 +132,8 @@ char buf[1]; getentropy(buf, 1); AC_SUBST([PLATFORM_LDADD], ['-ldl -lmd -lnsl -lsocket']) ;; *) - HOST_OS=unsupported + HOST_OS=$host_os + HOST_ABI=elf ;; esac -- cgit v1.2.3-55-g6feb