Files
ports/sysutils/uschedule/files/patch-src_attributes.h
T
Robert Clausecker 65784d411f sysutils/uschedule: disable use of regparm, enable everywhere
This attribute isn't strictly needed to build the software.
Disable it to enable a build with clang on all platforms.

MFH:		2026Q1
2026-02-04 13:41:15 +01:00

12 lines
304 B
C

--- src/attributes.h.orig 2026-02-02 20:51:48 UTC
+++ src/attributes.h
@@ -67,7 +67,7 @@
#define attribute_inline __inline__
-#if GNUC_MINIMUM(2,7) /* doesn't work reliable before, IIRC */
+#if 0
# define attribute_regparm(x) __attribute__((__regparm__((x))))
#else
# define attribute_regparm(x)