shithub: libtags

Download patch

ref: b9872910ce781e5818322af3e31c655ca8d87821
parent: 8f4bfe49e034694ac1d79f89130ed0566845da56
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Mar 6 13:55:25 EST 2024

meson: warning options: check the ones actually used

--- a/meson.build
+++ b/meson.build
@@ -18,9 +18,9 @@
 
 cc = meson.get_compiler('c')
 
-if(cc.has_argument('-W#warnings'))
+if(cc.has_argument('-Wno-#warnings'))
 	add_project_arguments('-Wno-#warnings', language: 'c')
-elif(cc.has_argument('-Wcpp'))
+elif(cc.has_argument('-Wno-cpp'))
 	add_project_arguments('-Wno-cpp', language: 'c')
 endif