opnsense-ports/devel/llvm-devel/files/patch-workaround-ff862d6de92f4
Franco Fichtner 84c5ea69ee */*: sync with upstream
Taken from: FreeBSD
2025-02-06 12:31:11 +01:00

11 lines
355 B
Text

--- flang/runtime/exceptions.cpp.orig
+++ flang/runtime/exceptions.cpp
@@ -44,7 +44,7 @@
Terminator terminator{__FILE__, __LINE__};
static constexpr uint32_t v{FE_INVALID};
-#if __x86_64__
+#if __x86_64__ && !defined(__FreeBSD__)
static constexpr uint32_t s{__FE_DENORM}; // nonstandard, not a #define
#else
static constexpr uint32_t s{0};