Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
version : '4.0.0',
license : 'LGPLv2+',
default_options: [
+ 'b_colorout=always',
+ 'b_asneeded=true',
+ 'b_pie=true',
'c_std=gnu11',
'warning_level=2',
],
want_tests = get_option('tests')
possible_cc_flags = [
- '-fPIE',
'-Wvla',
'-std=gnu11',
- '-fdiagnostics-color',
'-Wimplicit-fallthrough=5',
'-Wcast-align',
'-Wstrict-prototypes',
]
possible_link_flags = [
- '-Wl,--as-needed',
'-Wl,--gc-sections',
'-Wl,-z,relro',
'-Wl,-z,now',
- '-pie',
'-Wl,-fuse-ld=gold',
]