[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:37 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
----------------
lntue wrote:
need `#undef __USE_FORTIFY_LEVEL` before re-defining it, because we defined it to be 0 on line 38.
https://github.com/llvm/llvm-project/pull/113012
More information about the libc-commits
mailing list