summaryrefslogtreecommitdiffstats
path: root/meta/classes/native.bbclass
diff options
context:
space:
mode:
authorPhil Blundell <pb@pbcl.net>2016-01-30 12:21:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-31 13:29:49 +0000
commitba2fdcddafcd7c0c42eecd740698a722c2d75144 (patch)
treef61701afca1573b6a687e3445ea28f4831d65ab4 /meta/classes/native.bbclass
parent2394b15ee0c928be5fff93e4f4cd34193a94196d (diff)
downloadpoky-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/classes/native.bbclass')
-rw-r--r--meta/classes/native.bbclass2
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
43CPPFLAGS = "${BUILD_CPPFLAGS}" 43CPPFLAGS = "${BUILD_CPPFLAGS}"
44CFLAGS = "${BUILD_CFLAGS}" 44CFLAGS = "${BUILD_CFLAGS}"
45CXXFLAGS = "${BUILD_CFLAGS}" 45CXXFLAGS = "${BUILD_CXXFLAGS}"
46LDFLAGS = "${BUILD_LDFLAGS}" 46LDFLAGS = "${BUILD_LDFLAGS}"
47LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE} " 47LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE} "
48 48