native.bbclass: Set CXXFLAGS from BUILD_CXXFLAGS not BUILD_CFLAGS
Although BUILD_CXXFLAGS, by default, expands to the same thing as BUILD_CFLAGS there is no guarantee that this will be true in all cases. When setting CXXFLAGS we should use the former. (From OE-Core rev: fd75637d97cc3d669229e59c1d21ce7038fc92d7) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2394b15ee0
commit
ba2fdcddaf
|
@ -42,7 +42,7 @@ HOST_AS_ARCH = "${BUILD_AS_ARCH}"
|
|||
|
||||
CPPFLAGS = "${BUILD_CPPFLAGS}"
|
||||
CFLAGS = "${BUILD_CFLAGS}"
|
||||
CXXFLAGS = "${BUILD_CFLAGS}"
|
||||
CXXFLAGS = "${BUILD_CXXFLAGS}"
|
||||
LDFLAGS = "${BUILD_LDFLAGS}"
|
||||
LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE} "
|
||||
|
||||
|
|
Loading…
Reference in New Issue