mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-14 00:56:25 +02:00
14 lines
573 B
Diff
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 */
|