void-packages/srcpkgs/refind/patches/force-inline-musl.patch

34 lines
1.3 KiB
Diff

--- a/filesystems/zstd/fse_decompress.c
+++ b/filesystems/zstd/fse_decompress.c
@@ -40,7 +40,7 @@
/* **************************************************************
* Compiler specifics
****************************************************************/
-#define FORCE_INLINE static __always_inline
+#define FORCE_INLINE static inline __attribute__((__always_inline__))
/* **************************************************************
* Includes
--- a/filesystems/zstd/zstd_internal.h
+++ b/filesystems/zstd/zstd_internal.h
@@ -20,7 +20,7 @@
/*-*******************************************************
* Compiler specifics
*********************************************************/
-#define FORCE_INLINE static __always_inline
+#define FORCE_INLINE static inline __attribute__((__always_inline__))
#define FORCE_NOINLINE static /*noinline*/
/*-*************************************
--- a/filesystems/zstd/huf_decompress.c
+++ b/filesystems/zstd/huf_decompress.c
@@ -40,7 +40,7 @@
/* **************************************************************
* Compiler specifics
****************************************************************/
-#define FORCE_INLINE static __always_inline
+#define FORCE_INLINE static inline __attribute__((__always_inline__))
/* **************************************************************
* Dependencies