summaryrefslogtreecommitdiffstats
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:38 +0000
commitfd75637d97cc3d669229e59c1d21ce7038fc92d7 (patch)
treedd0971131432b62b501522e7dcf3d4a33324f63d
parent078987cd3ad68acdb68e9d40d9021b96ffec6c09 (diff)
downloadopenembedded-core-contrib-fd75637d97cc3d669229e59c1d21ce7038fc92d7.tar.gz
openembedded-core-contrib-fd75637d97cc3d669229e59c1d21ce7038fc92d7.tar.bz2
openembedded-core-contrib-fd75637d97cc3d669229e59c1d21ce7038fc92d7.zip
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. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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}"
CPPFLAGS = "${BUILD_CPPFLAGS}"
CFLAGS = "${BUILD_CFLAGS}"
-CXXFLAGS = "${BUILD_CFLAGS}"
+CXXFLAGS = "${BUILD_CXXFLAGS}"
LDFLAGS = "${BUILD_LDFLAGS}"
LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE} "