diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended index a2cb81bc1c..f85310e813 100644 --- a/meta-yocto/conf/local.conf.sample.extended +++ b/meta-yocto/conf/local.conf.sample.extended @@ -215,6 +215,14 @@ # Remove the old image before the new one generated to save disk space #RM_OLD_IMAGE = "1" +# +# GCC/LD FLAGS to enable more secure code generation +# +# By including the security_flags include file you enable flags +# to the compiler and linker that cause them to generate more secure +# code, this is enabled by default in the poky-lsb distro. +# This does affect compile speed slightly. +# # Use the following line to enable the security compiler and linker flags to your build #require conf/distro/include/security_flags.inc @@ -262,4 +270,3 @@ export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}" #INITRAMFS_IMAGE = "core-image-minimal-initramfs" #INITRAMFS_IMAGE_BUNDLE = "1" -