]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
build: Match also gnu* for GNU/Hurd on the glibc ABI selection
authorGuillem Jover <guillem@hadrons.org>
Wed, 6 Mar 2024 01:12:56 +0000 (02:12 +0100)
committerGuillem Jover <guillem@hadrons.org>
Wed, 6 Mar 2024 01:22:04 +0000 (02:22 +0100)
The GNU/Hurd system does not specify a kernel part, so we need to match
on both *-gnu* and gnu* (to avoid overmatching with just *gnu*).

configure.ac

index 5a003e1cbb23dd0c61cc036a416e7851fc53f448..c7c2e132050c3430b82e681b2cae21b36aa9c3d8 100644 (file)
@@ -85,7 +85,7 @@ abi_vis=unknown
 abi_wcsl=unknown
 
 AS_CASE([$host_os],
-  [*-gnu*], [
+  [*-gnu* | gnu*], [
     abi_accmode=yes
     # DROP: On glibc >= 2.36.
     #abi_arc4random=no