Sertonix 363be18be4 main/fortify-headers: update clang fix
Using the patch which has been merged upstream
2026-03-13 12:58:14 +01:00

14 lines
573 B
Diff

Ref https://github.com/jvoisin/fortify-headers/commit/c1642e5a43de3affa75d52c3577ee1be4c874a5d
--- a/include/fortify-headers.h
+++ b/include/fortify-headers.h
@@ -23,7 +23,7 @@
#define _FORTIFY_POSN(n) const __attribute__((pass_dynamic_object_size(n)))
#else
/* clang uses overloads; see https://github.com/llvm/llvm-project/issues/53516 */
-#define _FORTIFY_POSN(n) const __attribute__((pass_object_size__(n)))
+#define _FORTIFY_POSN(n) const __attribute__((pass_object_size(n)))
#endif
/* we can't use extern inline with overloads without making them external */