<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>On 03/09/2011 09:26 AM, Nitin A Kamble wrote:</tt>
<blockquote
cite="mid:33b26ba051fa171e480bce3a1e4497a619241176.1299633840.git.nitin.a.kamble@intel.com"
type="cite">
<pre wrap=""> .../recipes-devtools/gcc/gcc-configure-runtime.inc | 3 +++
meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
index 6cc11e2..2d214af 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
@@ -1,5 +1,8 @@
require gcc-configure-common.inc
+CXXFLAGS = "${@oe_filter_out('-fvisibility-inlines-hidden',
+'${CXXFLAGS}', d)}"
+
</pre>
</blockquote>
<tt>I think it should be </tt><br>
<pre wrap="">CXXFLAGS <b>:=</b> "${@oe_filter_out('-fvisibility-inlines-hidden',
'${CXXFLAGS}', d)}"
otherwise it will give the following error log.
NOTE: Error expanding variable CXXFLAGS############################################################### | ETA: 00:00:00
ERROR: Error parsing xxx.../xxx.bb: variable CXXFLAGS references itself!
It is ok in python, but bitbake/lib/bb/data_smart.py will check it and it will cause error.
</pre>
<blockquote
cite="mid:33b26ba051fa171e480bce3a1e4497a619241176.1299633840.git.nitin.a.kamble@intel.com"
type="cite">
<pre wrap=""> EXTRA_OECONF_PATHS = " \
--with-local-prefix=${STAGING_DIR_TARGET}${prefix} \
--with-gxx-include-dir=${includedir}/c++/ \
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
index 093f9bf..c1e680d 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
@@ -1,4 +1,4 @@
-PR = "r2"
+PR = "r3"
require gcc-${PV}.inc
require gcc-configure-runtime.inc
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Lu Jingdong
<a class="moz-txt-link-abbreviated" href="mailto:jingdong.lu@windriver.com">jingdong.lu@windriver.com</a>
China, Wind River</pre>
</body>
</html>