]> code.ossystems Code Review - openembedded-core.git/commit
security_flags.inc: Special flags are needed for RPM
authorMark Hatle <mark.hatle@windriver.com>
Fri, 4 Mar 2016 19:03:52 +0000 (13:03 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Mar 2016 16:59:55 +0000 (16:59 +0000)
commit98b5f1ef188965f0116ebbe00be746dceb96936e
tree61a5490f203b19e7562eedff6bb817e9f768d449
parentee97e53fcceabc6ef4ddc68f38c5fa0e05c5d9a8
security_flags.inc: Special flags are needed for RPM

RPM interally has support to build and work with the stack protector.
This is disabled by default in the RPM package, and the proper settings
should be specified in the security_flags.  Using the default setting of
stack-protector-strong causes linking problems due to issues with libtool
selecting the wrong GCC objections to link against.

Falling back to the RPM values of stack-protector will permit linking to
work properly, and some level of protection.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
meta/conf/distro/include/security_flags.inc