fortran: use fpu-glibc on powerpc*-unknown-freebsd
Commit Message
fpu-glibc name is a bit incorrect, since it also works on other systems.
I have verified that it builds and can also build other packages
correctly (that were failing before).
Comments
> From: Piotr Kubaj <pkubaj@FreeBSD.org>
> Date: Sun, 20 Mar 2022 13:03:13 +0100
> Subject: [PATCH] fortran: on powerpc*-unknown-freebsd*, also use fpu-glibc
>
> It builds fine and correctly bulds packages on FreeBSD.
> It looks like "fpu-glibc" name is a bit misleading since it also works
> on FreeBSD.
>
> Signed-off-by: Piotr Kubaj <pkubaj@FreeBSD.org>
Okay for trunk. Thanks!
Segher
From 0feb83fae30070cf250781449670638d7addd947 Mon Sep 17 00:00:00 2001
From: Piotr Kubaj <pkubaj@FreeBSD.org>
Date: Sun, 20 Mar 2022 13:03:13 +0100
Subject: [PATCH] fortran: on powerpc*-unknown-freebsd*, also use fpu-glibc
It builds fine and correctly bulds packages on FreeBSD.
It looks like "fpu-glibc" name is a bit misleading since it also works
on FreeBSD.
Signed-off-by: Piotr Kubaj <pkubaj@FreeBSD.org>
---
libgfortran/configure.host | 8 ++++++++
1 file changed, 8 insertions(+)
@@ -61,6 +61,14 @@ case "${host_cpu}" in
ieee_support='yes'
;;
esac
+ ;;
+ powerpc*)
+ case "${host_os}" in
+ freebsd*)
+ fpu_host='fpu-glibc'
+ ieee_support='yes'
+ ;;
+ esac
esac
--
2.35.1