Otherwise, if we generate a static library, lintian warns that
it has no code sections. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977596
Signed-off-by: Serge Hallyn <serge@hallyn.com>
'-Wno-gnu-variable-sized-type-not-at-end',
]
endif
+possible_cc_flags += [
+ '-ffat-lto-objects',
+]
if meson.version().version_compare('>=0.46')
add_project_link_arguments(cc.get_supported_link_arguments(possible_link_flags), language: 'c')