Move -fstack-protector-strong from possible_cc_flags to
possible_link_flags to avoid a build failure on toolchains without ssp
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
'-Wstrict-prototypes',
'-fno-strict-aliasing',
'-fstack-clash-protection',
- '-fstack-protector-strong',
'--param=ssp-buffer-size=4',
'--mcet -fcf-protection',
'-Werror=implicit-function-declaration',
'-Wl,-z,now',
'-Wl,-fuse-ld=gold',
'-fstack-protector',
+ '-fstack-protector-strong',
]
if sanitize == 'none'