commit | ec04aa3ae87b895dbc674a7e0b78b670f73a2c22 | [log] [tgz] |
---|---|---|
author | Markus Mayer <mmayer@broadcom.com> | Wed Sep 27 16:02:35 2017 -0700 |
committer | Zhang Rui <rui.zhang@intel.com> | Wed Oct 18 09:59:30 2017 +0800 |
tree | 5419a5b18517b3d2721b77c42e0d177f85376835 | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e [diff] |
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: Markus Mayer <mmayer@broadcom.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>