diff options
Diffstat (limited to 'meta-networking/conf/distro/include/meta_networking_security_flags.inc')
-rw-r--r-- | meta-networking/conf/distro/include/meta_networking_security_flags.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/conf/distro/include/meta_networking_security_flags.inc b/meta-networking/conf/distro/include/meta_networking_security_flags.inc index 06802d66d..19e13ea87 100644 --- a/meta-networking/conf/distro/include/meta_networking_security_flags.inc +++ b/meta-networking/conf/distro/include/meta_networking_security_flags.inc | |||
@@ -2,5 +2,9 @@ | |||
2 | # | configure:3479: using CFLAGS: -O2 -pipe -g -feliminate-unused-debug-types -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2 | 2 | # | configure:3479: using CFLAGS: -O2 -pipe -g -feliminate-unused-debug-types -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2 |
3 | # | configure:3485: CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=2 | 3 | # | configure:3485: CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=2 |
4 | # | configure:3516: error: Can not continue. Fix errors mentioned immediately above this line. | 4 | # | configure:3516: error: Can not continue. Fix errors mentioned immediately above this line. |
5 | |||
6 | # Make sure it's at least empty in builds which don't include | ||
7 | # conf/distro/include/security_flags.inc | ||
8 | lcl_maybe_fortify ?= "" | ||
5 | TARGET_CFLAGS_remove_pn-c-ares = "${lcl_maybe_fortify}" | 9 | TARGET_CFLAGS_remove_pn-c-ares = "${lcl_maybe_fortify}" |
6 | TARGET_CPPFLAGS_append_pn-c-ares = "${lcl_maybe_fortify}" | 10 | TARGET_CPPFLAGS_append_pn-c-ares = "${lcl_maybe_fortify}" |