[oe] [meta-oe][PATCH] mariadb: -native also needs gold workaround

Koen Kooi koen at dominion.thruhere.net
Wed Dec 30 19:06:31 UTC 2015



> Op 30 dec. 2015 om 19:34 heeft Khem Raj <raj.khem at gmail.com> het volgende geschreven:
> 
>> On Wed, Dec 30, 2015 at 5:57 AM, Koen Kooi <koen at dominion.thruhere.net> wrote:
>> When the host distro uses gold mariadb-native fails to build.
> 
> what is the failure ?

Not near a computer right now. The same one that you get for the regular recipe without the TARGET_CFLAGS. It's in the patchwork discussion between Martin and Paul for the version update.

> 
>> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
>> ---
>> meta-oe/recipes-support/mysql/mariadb.inc | 3 +++
>> 1 file changed, 3 insertions(+)
>> 
>> diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc
>> index a6826c3..6a55476 100644
>> --- a/meta-oe/recipes-support/mysql/mariadb.inc
>> +++ b/meta-oe/recipes-support/mysql/mariadb.inc
>> @@ -60,6 +60,9 @@ PACKAGECONFIG[setupdb] = ", ,,${PN}-setupdb"
>> # https://mariadb.atlassian.net/browse/MDEV-5982
>> TARGET_CFLAGS += "-fuse-ld=bfd"
>> 
>> +BUILD_CFLAGS += "-fuse-ld=bfd"
>> +BUILD_CXXFLAGS += "-fuse-ld=bfd"
>> +
>> EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
>>                  -DWITH_JEMALLOC=no \
>>                  -DWITHOUT_TOKUDB=TRUE \
>> --
>> 2.0.1
>> 
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 



More information about the Openembedded-devel mailing list