diff options
| author | Gustavo Romero <gromero@br.ibm.com> | 2017-03-26 15:08:15 +0000 |
|---|---|---|
| committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-26 18:26:41 +0200 |
| commit | 17f250dd159dbb6a8c5abf794532b434c0e7ca08 (patch) | |
| tree | 94db49da895ce9d41499d35541206b9d401b9e5b /testing/evolution-data-server | |
| parent | 19c7235ef59405f95c9df1b42e366326c4edf2a8 (diff) | |
| download | aports-17f250dd159dbb6a8c5abf794532b434c0e7ca08.tar.bz2 aports-17f250dd159dbb6a8c5abf794532b434c0e7ca08.tar.xz | |
aports/mariadb: remove glibc dep on ppc
Remove dependency on glibc by using gcc builtin function and no glibc
wrappers.
Currently there are no surrogates in musl for:
__ppc_get_timebase()
__ppc_set_ppr_low()
__ppc_set_ppr_med()
however glibc __ppc_get_timebase() is just a wrapper for GCC builtin
__builtin_get_timebase() available since GCC 4.8 [1], so assuming that
aports on ppc64le will never be built using GCC < 4.8 we can just
switch directly to the GCC builtin function.
Also __ppc_set_ppr_{low,med}() are not available on musl but both
are simple glibc wrappers on a single asm instruction, hence there
is no harm in using asm directly instead. Actually, using asm
directly was the first solution adopted in MariaDB [2].
[1] https://goo.gl/jxLV6O
[2] https://goo.gl/9bjuVC
Diffstat (limited to 'testing/evolution-data-server')
0 files changed, 0 insertions, 0 deletions
