]> code.ossystems Code Review - openembedded-core.git/commit
boost: Pass CFLAGS, CXXFLAGS and LDFLAGS correctly into boost.build
authorMike Crowe <mac@mcrowe.com>
Thu, 13 Mar 2014 10:01:54 +0000 (10:01 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Mar 2014 14:01:07 +0000 (14:01 +0000)
commitf09d2583894be0a4069600381046bec5e7f0277b
tree61444223d8d676c6a548528c5c51f5150fb9a801
parent55f596fdfdacd3f5eeabdcabd62545b2d583cc2e
boost: Pass CFLAGS, CXXFLAGS and LDFLAGS correctly into boost.build

The compileflags and linkflags do_boostconfig puts into user-config.jam are
having no effect. According to
http://www.boost.org/boost-build2/doc/html/bbv2/reference/tools.html the
correct syntax would be <compileflags>"the flags" <linkflags>"the flags".

Since the flags specified were having no effect they can't be necessary and
can be safely removed. We should be passing ${CFLAGS}, ${CXXFLAGS} and
${LDFLAGS} instead so that users of the recipe can pass arbitrary flags as
they choose.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/boost/boost.inc