[libc-commits] [libc] [libc] temporaliy disable __USE_EXTERN_INLINES and set __USE_FORITFY_LEVEL to 1 before including in overlay mode (PR #113012)

via libc-commits libc-commits at lists.llvm.org
Fri Oct 18 18:34:53 PDT 2024


================
@@ -44,4 +55,14 @@
 #undef LIBC_SET_NO_INLINE
 #endif
 
+#ifdef LIBC_OLD_FORTIFY_LEVEL
+#define __USE_FORTIFY_LEVEL LIBC_OLD_USE_FORTIFY_LEVEL
+#undef LIBC_OLD_USE_FORTIFY_LEVEL
+#endif
+
+#ifdef LIBC_OLD_USE_EXTERN_INLINES
+#define __USE_EXTERN_INLINES LIBC_OLD_USE_EXTERN_INLINES
----------------
lntue wrote:

`#define __USE_EXTERN_INLINES` is enough

https://github.com/llvm/llvm-project/pull/113012


More information about the libc-commits mailing list