shithub: libtags

Download patch

ref: 8386fb7b891a0aac55e8f5c9ffa350a9491f142d
parent: 64b6e03c6309d29afd602b3042998fda75ca888e
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Wed Mar 6 16:58:49 EST 2024

meson: disable _FORTIFY_SOURCE if fuzzing enabled

--- a/meson.build
+++ b/meson.build
@@ -52,6 +52,7 @@
 	if(cc.has_argument('-Wno-gnu-statement-expression-from-macro-expansion'))
 		add_project_arguments('-Wno-gnu-statement-expression-from-macro-expansion', language: 'c')
 	endif
+	add_project_arguments([ '-U_FORTIFY_SOURCE', '-D_FORTIFY_SOURCE=0' ], language: 'c')
 endif
 
 lib = static_library(