diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-08-18 23:19:12 +0100 |
---|---|---|
committer | Joshua Lock <joshua.g.lock@intel.com> | 2016-08-19 16:24:32 +0100 |
commit | 6e71e3206845a8eda86168634053fd3d5334201b (patch) | |
tree | 2d3e37ec35a8dfb5096792fb2c587be7300fb8bc /meta | |
parent | e1c9ed16dca8115a052e08732ec66ce29c9da746 (diff) | |
download | openembedded-core-contrib-6e71e3206845a8eda86168634053fd3d5334201b.tar.gz |
security_flags: ensure changes to SHARED_OBJECTS cause recompilejoshuagl/secflags
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 <joshua.g.lock@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/distro/include/security_flags.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 295c733d3e..901c8416f4 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 |