Skip to content
Commit ec04aa3a authored by Markus Mayer's avatar Markus Mayer Committed by Zhang Rui
Browse files

tools/thermal: tmon: use "-fstack-protector" only if supported



Most, but not all, toolchains support the "-fstack-protector" flag. We
check if the compiler supports the flag before using it. This allows
tmon to be compiled for more environments.

Signed-off-by: default avatarMarkus Mayer <mmayer@broadcom.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 2bd6bf03
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment