]> code.ossystems Code Review - openembedded-core.git/commit
security_flags.inc: remove obsolete workarounds for curl
authorAndre McCurdy <armccurdy@gmail.com>
Thu, 14 Jan 2016 03:35:09 +0000 (19:35 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jan 2016 17:37:23 +0000 (17:37 +0000)
commitd0dfd7bf9b2d6fb269f4d9b62263fd7ccc805fde
treeac16f102d10d10c978f29671d49d2e7397619fc0
parent39912b5f7b40210aefb8b248ab1a8643b61dfcbc
security_flags.inc: remove obsolete workarounds for curl

The curl configure script contains sanity checks for unexpected
options being passed via CFLAGS, LDFLAGS, etc. environment variables.

These sanity checks catch -Dxxx options in CFLAGS, which clashes with
OE's approach of using CFLAGS to pass -D_FORTIFY_SOURCE (curl's
configure script suggests, quite correctly, that -Dxxx options should
be passed via CPPFLAGS instead).

These sanity checks previously generated fatal errors, but have been
downgraded to warnings since curl v7.32. Therefore the workaround of
avoiding -D_FORTIFY_SOURCE for curl is obsolete and can be removed.

  https://github.com/bagder/curl/commit/5d3cbde72ece7d83c280492957a26e26ab4e5cca

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/distro/include/security_flags.inc