Codebase list fwupd / 08a1256
trivial: Don't force specific linker flash when cross building Richard Hughes 4 years ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4646
4747 # get supported warning flags
4848 warning_flags = [
49 '-fstack-protector-strong',
5049 '-Waggregate-return',
5150 '-Wunused',
5251 '-Warray-bounds',
103102 cc = meson.get_compiler('c')
104103 add_project_arguments(cc.get_supported_arguments(warning_flags), language : 'c')
105104
105 if not meson.is_cross_build()
106 add_project_arguments('-fstack-protector-strong', language : 'c')
107 endif
108
106109 # enable full RELRO where possible
107110 # FIXME: until https://github.com/mesonbuild/meson/issues/1140 is fixed
108111 global_link_args = []