<div dir="auto"><div>Hey Khem,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 19, 2020, 4:22 PM Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Jan 18, 2020 at 7:02 PM Alejandro Enedino Hernandez Samaniego<br>
&lt;<a href="mailto:alejandro@enedino.org" target="_blank" rel="noreferrer">alejandro@enedino.org</a>&gt; wrote:<br>
&gt;<br>
&gt; While the gnu style for symbol versioning is the most usual,<br>
&gt; --enable-symvers[=style] can be provided several values,<br>
&gt; gnu, gnu-versioned-namespace, darwin, darwin-export, and sun,<br>
&gt; depending on users needs.<br>
&gt;<br>
&gt; Introduce the SYMVERS_CONF variable to allow the user to<br>
&gt; configure the symbol versioning in shared libraries.<br>
&gt;<br>
&gt; Signed-off-by: Alejandro Enedino Hernandez Samaniego &lt;<a href="mailto:alejandro@enedino.org" target="_blank" rel="noreferrer">alejandro@enedino.org</a>&gt;<br>
&gt; ---<br>
&gt;  meta/recipes-devtools/gcc/gcc-configure-common.inc | 4 +++-<br>
&gt;  1 file changed, 3 insertions(+), 1 deletion(-)<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc<br>
&gt; index 24ba8ce..bb4f692 100644<br>
&gt; --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc<br>
&gt; +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc<br>
&gt; @@ -17,6 +17,8 @@ GCCTHREADS ?= &quot;posix&quot;<br>
&gt;<br>
&gt;  GCCPIE ??= &quot;&quot;<br>
&gt;<br>
&gt; +SYMVERS_CONF ?= &quot;--enable-symvers=gnu&quot;<br>
&gt; +<br>
<br>
just turn the RHS into variable not full option<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I did think about that, and I can do it, but I think I would have to also create a PACKAGECONFIG and since AFAIC no one is changing the style I&#39;m not sure it&#39;s worth the complication of the code, and this still allows us to remove the enablement entirely, not just changing the style.</div><div dir="auto"><br></div><div dir="auto">Alejandro</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
&gt;  EXTRA_OECONF = &quot;\<br>
&gt;      ${@[&#39;--enable-clocale=generic&#39;, &#39;&#39;][d.getVar(&#39;USE_NLS&#39;) != &#39;no&#39;]} \<br>
&gt;      --with-gnu-ld \<br>
&gt; @@ -27,7 +29,7 @@ EXTRA_OECONF = &quot;\<br>
&gt;      ${GCCPIE} \<br>
&gt;      --enable-c99 \<br>
&gt;      --enable-long-long \<br>
&gt; -    --enable-symvers=gnu \<br>
&gt; +    ${SYMVERS_CONF} \<br>
&gt;      --enable-libstdcxx-pch \<br>
&gt;      --program-prefix=${TARGET_PREFIX} \<br>
&gt;      --without-local-prefix \<br>
&gt; --<br>
&gt; 2.7.4<br>
&gt;<br>
&gt; --<br>
&gt; _______________________________________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank" rel="noreferrer">Openembedded-core@lists.openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div></div></div>