diff options
author | Phil Blundell <pb@pbcl.net> | 2016-01-30 12:21:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-31 13:29:49 +0000 |
commit | ba2fdcddafcd7c0c42eecd740698a722c2d75144 (patch) | |
tree | f61701afca1573b6a687e3445ea28f4831d65ab4 /meta | |
parent | 2394b15ee0c928be5fff93e4f4cd34193a94196d (diff) | |
download | poky-ba2fdcddafcd7c0c42eecd740698a722c2d75144.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/native.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index aac2c1e870..a3a5c8c748 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -42,7 +42,7 @@ HOST_AS_ARCH = "${BUILD_AS_ARCH}" | |||
42 | 42 | ||
43 | CPPFLAGS = "${BUILD_CPPFLAGS}" | 43 | CPPFLAGS = "${BUILD_CPPFLAGS}" |
44 | CFLAGS = "${BUILD_CFLAGS}" | 44 | CFLAGS = "${BUILD_CFLAGS}" |
45 | CXXFLAGS = "${BUILD_CFLAGS}" | 45 | CXXFLAGS = "${BUILD_CXXFLAGS}" |
46 | LDFLAGS = "${BUILD_LDFLAGS}" | 46 | LDFLAGS = "${BUILD_LDFLAGS}" |
47 | LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE} " | 47 | LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE} " |
48 | 48 | ||