diff options
author | Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> | 2020-01-18 19:01:47 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-19 23:49:39 +0000 |
commit | 0b088f99e64d3a1cb9bf1793a9371220e40f6516 (patch) | |
tree | dded2b2f2c039ca5028fb0e3ee91b3d5f00f37f9 /meta/recipes-devtools/gcc | |
parent | 0f9ba4d7a04741b61f80ff4ec9384715bdce9a4c (diff) | |
download | poky-0b088f99e64d3a1cb9bf1793a9371220e40f6516.tar.gz |
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.
(From OE-Core rev: f850931173fc210ed25706fd8fbfe0a310f99dfc)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index 24ba8ce75f..bb4f6923f2 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" | |||
17 | 17 | ||
18 | GCCPIE ??= "" | 18 | GCCPIE ??= "" |
19 | 19 | ||
20 | SYMVERS_CONF ?= "--enable-symvers=gnu" | ||
21 | |||
20 | EXTRA_OECONF = "\ | 22 | EXTRA_OECONF = "\ |
21 | ${@['--enable-clocale=generic', ''][d.getVar('USE_NLS') != 'no']} \ | 23 | ${@['--enable-clocale=generic', ''][d.getVar('USE_NLS') != 'no']} \ |
22 | --with-gnu-ld \ | 24 | --with-gnu-ld \ |
@@ -27,7 +29,7 @@ EXTRA_OECONF = "\ | |||
27 | ${GCCPIE} \ | 29 | ${GCCPIE} \ |
28 | --enable-c99 \ | 30 | --enable-c99 \ |
29 | --enable-long-long \ | 31 | --enable-long-long \ |
30 | --enable-symvers=gnu \ | 32 | ${SYMVERS_CONF} \ |
31 | --enable-libstdcxx-pch \ | 33 | --enable-libstdcxx-pch \ |
32 | --program-prefix=${TARGET_PREFIX} \ | 34 | --program-prefix=${TARGET_PREFIX} \ |
33 | --without-local-prefix \ | 35 | --without-local-prefix \ |