[oe-commits] [openembedded-core] 07/12: gcc-configure: Enable the use of different symbol versioning

git at git.openembedded.org git at git.openembedded.org
Sun Jan 19 23:51:13 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit f850931173fc210ed25706fd8fbfe0a310f99dfc
Author: Alejandro Enedino Hernandez Samaniego <alejandro at enedino.org>
AuthorDate: Sat Jan 18 19:01:47 2020 -0800

    gcc-configure: Enable the use of different symbol versioning
    
    While the gnu style for symbol versioning is the most usual,
    --enable-symvers[=style] can be provided several values,
    gnu, gnu-versioned-namespace, darwin, darwin-export, and sun,
    depending on users needs.
    
    Introduce the SYMVERS_CONF variable to allow the user to
    configure the symbol versioning in shared libraries.
    
    Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro at enedino.org>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/gcc/gcc-configure-common.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index 24ba8ce..bb4f692 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -17,6 +17,8 @@ GCCTHREADS ?= "posix"
 
 GCCPIE ??= ""
 
+SYMVERS_CONF ?= "--enable-symvers=gnu"
+
 EXTRA_OECONF = "\
     ${@['--enable-clocale=generic', ''][d.getVar('USE_NLS') != 'no']} \
     --with-gnu-ld \
@@ -27,7 +29,7 @@ EXTRA_OECONF = "\
     ${GCCPIE} \
     --enable-c99 \
     --enable-long-long \
-    --enable-symvers=gnu \
+    ${SYMVERS_CONF} \
     --enable-libstdcxx-pch \
     --program-prefix=${TARGET_PREFIX} \
     --without-local-prefix \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list