Upgrading to GitLab 11.10.0. Expect errors and see debian-infrastructure-announce@lists.debian.org for further information.

Commit da399684 authored by Tomasz Buchert's avatar Tomasz Buchert

d/patches: fix FTBFS on some archs

parent 38561162
From: Tomasz Buchert <tomasz@debian.org>
Date: Fri, 21 Aug 2015 09:42:31 +0200
Subject: Fix FTBFS on some architectures.
_FPU_EXTENDED is not defined on some architecture causing the build to
fail. This patch makes the compilation fallback to a sane behavior if
this is the case.
---
gbenv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gbenv.c b/gbenv.c
index 632f8c6..07880eb 100644
--- a/gbenv.c
+++ b/gbenv.c
@@ -78,7 +78,7 @@ int main(int argc,char* argv[]){
printf(" floating point environment ------------------------\n");
-#ifdef _FPU_GETCW
+#if defined (_FPU_GETCW) && defined(_FPU_EXTENDED)
_FPU_GETCW(mode);
#define PREC_MASK _FPU_EXTENDED
0001-Fixed-two-typos.patch
0002-Fix-FTBFS-on-some-architectures.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment