PKGBUILDs/extra/gdc/0001-AArch64-fix.patch

25 lines
666 B
Diff
Raw Normal View History

2018-12-07 02:31:57 +00:00
From 8f5d38f857ec3fa8dfbd9c592aae74c4c36e40e4 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Thu, 6 Dec 2018 17:26:03 -0700
Subject: [PATCH] AArch64 fix
---
libphobos/src/std/math.d | 1 +
1 file changed, 1 insertion(+)
diff --git a/libphobos/src/std/math.d b/libphobos/src/std/math.d
index e1abf164..db11ebf4 100644
--- a/libphobos/src/std/math.d
+++ b/libphobos/src/std/math.d
@@ -5337,6 +5337,7 @@ private:
}
else version (AArch64)
{
+ ControlState cont;
asm pure nothrow @nogc
{
"mrs %0, FPCR;" : "=r" cont;
--
2.19.1