Add the SHARED_OBJECTS variable to SECURITY_LDFLAGS vardeps so that changing SHARED_OBJECTS causes do_compile to re-run.
Signed-off-by: Joshua Lock <[email protected]> --- meta/conf/distro/include/security_flags.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 295c733..901c841 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -24,6 +24,7 @@ SECURITY_CFLAGS ?= "-fstack-protector-strong --param ssp-buffer-size=4 -pie -fpi SECURITY_NO_PIE_CFLAGS ?= "-fstack-protector-strong --param ssp-buffer-size=4 ${lcl_maybe_fortify} ${SECURITY_STRINGFORMAT}" SECURITY_LDFLAGS ?= "-Wl,-z,relro,-z,now${pie_ld}" +SECURITY_LDFLAGS[vardeps] += "SHARED_OBJECTS" SECURITY_X_LDFLAGS ?= "-Wl,-z,relro${pie_ld}" # powerpc does not get on with pie for reasons not looked into as yet -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
