build: readd compiler flags that got lost in conversion

This commit is contained in:
Michael Vetter
2026-02-05 09:33:13 +01:00
parent 3f76676e9a
commit 87c4b7ec53

View File

@@ -64,7 +64,10 @@ cc = meson.get_compiler('c')
add_project_arguments('-Wno-deprecated-declarations', language: 'c')
if get_option('buildtype') == 'debug' or get_option('buildtype') == 'debugoptimized'
add_project_arguments('-ggdb3', language: 'c')
add_project_arguments('-Wunused', language: 'c')
#Disabled for now due so we can build
#add_project_arguments('-Werror', language: 'c')
endif
if platform == 'osx'