From e5d10780eff394af075c1e394605fb5c915b3688 Mon Sep 17 00:00:00 2001 From: Oxore Date: Thu, 9 Mar 2023 02:13:58 +0300 Subject: Fix compilation with optimization on Gentoo --- third_party/newlib/string/local.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'third_party/newlib/string/local.h') diff --git a/third_party/newlib/string/local.h b/third_party/newlib/string/local.h index a96bdf1..3c35e1a 100644 --- a/third_party/newlib/string/local.h +++ b/third_party/newlib/string/local.h @@ -4,9 +4,5 @@ calls. This is used to avoid recursive calls in memset and memmove default implementations. */ -#ifdef _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL -# define __inhibit_loop_to_libcall \ +#define __inhibit_loop_to_libcall \ __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns"))) -#else -# define __inhibit_loop_to_libcall -#endif -- cgit v1.2.3