]> git.baikalelectronics.ru Git - kernel.git/commit
tools/thermal: tmon: use "-fstack-protector" only if supported
authorMarkus Mayer <mmayer@broadcom.com>
Wed, 27 Sep 2017 23:02:35 +0000 (16:02 -0700)
committerZhang Rui <rui.zhang@intel.com>
Wed, 18 Oct 2017 01:59:30 +0000 (09:59 +0800)
commit808b53e4c7669985eb517e20b481b12884cf6087
tree5419a5b18517b3d2721b77c42e0d177f85376835
parent384fde7ed224f283f11ef2a592b05d4a29492aa8
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>
tools/thermal/tmon/Makefile