Enable compiler flags to enhance security 31/5631/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sat, 7 May 2016 22:00:23 +0000 (00:00 +0200)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sat, 7 May 2016 22:00:23 +0000 (00:00 +0200)
commita1e6f20828d629a6e08286fed5e8cfba0862948e
tree8c9ff5012980dfc36b094c630730ef7260d73acb
parent084ab213bd37fb22b4f2bd2e23859b719778c4cc
Enable compiler flags to enhance security

From the original included file:

  Setup extra CFLAGS and LDFLAGS which have 'security' benefits. These
  don't work universally, there are recipes which can't use one, the other
  or both so a blacklist is maintained here. The idea would be over
  time to reduce this list to nothing.

It is likely that:
- some packages in the included layers don't compile with these flags
- bad recipes do not obey these flags
- binary drivers might expose issues at runtime

We need to check and extend the blacklist/whitelist or fix the code or recipe.

Change-Id: Ie4b80abd010eab438567923dea85aac23a565d23
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
meta-agl/conf/distro/poky-agl.conf