]> code.ossystems Code Review - openembedded-core.git/commit
rt-tests: rationalise compiler flags
authorRoss Burton <ross.burton@intel.com>
Mon, 25 Jul 2016 20:03:38 +0000 (21:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Jul 2016 07:56:07 +0000 (08:56 +0100)
commit2230e5f7bf7e6dc747ada74477d5a72905d8d80b
tree793cade99a0cfe2f66ec68e8441d80a2f8c29116
parent4b7d1bf8172533e9ac91a49ade152a05e2ee4146
rt-tests: rationalise compiler flags

This recipe uses some convoluted methods to ensure the build is using the right
flags but they don't appear to be needed anymore.

No need to prepend HOST_CC_ARCH/TOOLCHAIN_OPTIONS via CFLAGS as the Makefile
picks up CC from the environment and that includes these options.

No need to append the default CFLAGS as their special options are actually in
CPPFLAGS.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-rt/rt-tests/rt-tests.inc
meta/recipes-rt/rt-tests/rt-tests_2.0.bb