From 9ebb039a81f5ea06e97d84ef7ee447da9dfca204 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 29 Oct 2024 23:14:31 -0400 Subject: Fix up some GCC compiler flag options for LTO and inlining --- stdlib/util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stdlib/util.h') diff --git a/stdlib/util.h b/stdlib/util.h index b68e59bc..9e83c2bc 100644 --- a/stdlib/util.h +++ b/stdlib/util.h @@ -33,6 +33,10 @@ #define CONSTFUNC __attribute__ ((const)) #endif +#ifndef INLINE +#define INLINE inline __attribute__ ((always_inline)) +#endif + __attribute__((format(printf, 1, 2))) char *heap_strf(const char *fmt, ...); -- cgit v1.2.3