COMPMID-417: Add -fstack-protector-strong flag

The compiler seems to perform some "illegal" optimisations regarding the
stack pointer which cause valgrind to report invalid writes. (Or it
could be a compiler bug). Compiling with -fstack-protector-strong
generates "correct" code and thus allows to use valgrind.

Change-Id: I841dc839b5edb49f6f27acc1b3904671294476fc
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87719
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
1 file changed