Added -D_FORTIFY_SOURCE=2 to CFLAGS 79/14279/1
authorThierry Bultel <thierry.bultel@iot.bzh>
Mon, 11 Jun 2018 14:08:03 +0000 (16:08 +0200)
committerThierry Bultel <thierry.bultel@iot.bzh>
Mon, 11 Jun 2018 14:10:33 +0000 (16:10 +0200)
commit9b17efeda53eb57b2f264d4b7078c92ba24c4cf0
tree3e3deba9488fc3d72525205c71bbd1cf06488774
parent66f7bc88bfc7a17e1ef277c4f7293f95f6ec8b6c
Added -D_FORTIFY_SOURCE=2 to CFLAGS

Added this option, to match the given ones when building
from yocto with bitbake.
Also fixed the sample example, and some copy-paste issues
on build targets (RELEASE/DEBUG/PROFILING/CCOV).

Change-Id: I759305e54d427e6763f32b1a86207fe35add1b3f
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
cmake/cmake.d/01-build_options.cmake
samples.d/config.cmake.sample