diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2013-06-24 09:44:56 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-25 17:44:58 +0100 |
commit | 65385d4bb92c8938a48281462448d1efc6123920 (patch) | |
tree | 07d9d2d16684670665a19a068f8ce37e3688fe08 /meta-yocto | |
parent | 23a86b2735f49ca619f0864e8d385e2a738ec29a (diff) | |
download | poky-65385d4bb92c8938a48281462448d1efc6123920.tar.gz |
systemtap: Systemtap can not be build w -O0 optimization
Systemtap will fail with:
../usr/include/features.h:330:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
| # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
Use the same technique that eglibc uses to catch and correct the optimization
level, changing to -O2.
(From OE-Core rev: 9ceebb966e5294a270222475ab6317dcae2952fa)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto')
0 files changed, 0 insertions, 0 deletions