diff options
author | Oxore <oxore@protonmail.com> | 2023-03-09 02:13:58 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-03-09 02:13:58 +0300 |
commit | e5d10780eff394af075c1e394605fb5c915b3688 (patch) | |
tree | dced9eb6ea331f776ab3531a716508db9909ec8c /third_party/newlib/string/local.h | |
parent | 34746d3783af1ae601487c88f0a7e44f81842618 (diff) |
Fix compilation with optimization on Gentoo
Diffstat (limited to 'third_party/newlib/string/local.h')
-rw-r--r-- | third_party/newlib/string/local.h | 6 |
1 files changed, 1 insertions, 5 deletions
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 |