Files
ports/math/openlibm/files/patch-src_cdefs-compat.h
Piotr Kubaj 9924468b2d math/openlibm: fix build on powerpc64*
1. Correct CMakeLists.txt to check for other powerpc variants.
2. Remove strong references that break build for architectures where
long double is double. It doesn't change the binary for architectures
where it builds.
2026-07-15 11:10:35 +02:00

12 lines
457 B
C

--- src/cdefs-compat.h.orig 2026-07-09 14:39:05 UTC
+++ src/cdefs-compat.h
@@ -14,8 +14,6 @@
#ifdef __GNUC__
#if defined(__strong_alias) && defined(__NetBSD__)
#define openlibm_strong_reference(sym,alias) __strong_alias(alias,sym)
-#elif defined(__strong_reference)
-#define openlibm_strong_reference(sym,alias) __strong_reference(sym,alias)
#else
#ifdef __APPLE__
#define openlibm_strong_reference(sym,aliassym) openlibm_weak_reference(sym,aliassym)