diff --git a/meson.build b/meson.build index b6da75056..4acd0db64 100644 --- a/meson.build +++ b/meson.build @@ -88,6 +88,10 @@ test_ldflags = [ ] if get_option('buildtype') != 'debug' + test_cxxflags += [ + '-ffunction-sections', + '-fdata-sections', + ] test_cflags += [ '-ffunction-sections', '-fdata-sections',