Merge branch 'meson-list' into 'master'

Meson: use arrays to provide multiple arguments

See merge request cairo/cairo!339
This commit is contained in:
Tim-Philipp Müller 2022-07-06 10:59:30 +00:00
commit 2ff9afb737

View file

@ -69,7 +69,7 @@ if cc.get_id() != 'msvc'
]
if get_option('optimization') in ['1', '2', '3']
cflags += '-Wp,-D_FORTIFY_SOURCE=2 -Wl,-lssp'
cflags += ['-Wp,-D_FORTIFY_SOURCE=2', '-Wl,-lssp']
endif
supported_cflags = cc.get_supported_arguments(cflags)