aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/conf/distro/include/meta_networking_security_flags.inc
blob: 19e13ea872eaa980cd4c5d66267a231541b9ea15 (plain)
1
2
3
4
5
6
7
8
9
10
# configure righteously complains:
# | configure:3479: using CFLAGS:  -O2 -pipe -g -feliminate-unused-debug-types -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2
# | configure:3485: CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=2
# | configure:3516: error: Can not continue. Fix errors mentioned immediately above this line.

# Make sure it's at least empty in builds which don't include
# conf/distro/include/security_flags.inc
lcl_maybe_fortify ?= ""
TARGET_CFLAGS_remove_pn-c-ares = "${lcl_maybe_fortify}"
TARGET_CPPFLAGS_append_pn-c-ares = "${lcl_maybe_fortify}"