2 |
|
|
3 |
PNAME="glibc" |
PNAME="glibc" |
4 |
PVER="2.27" |
PVER="2.27" |
5 |
PBUILD="r4" |
PBUILD="r5" |
6 |
|
|
7 |
SPLIT_PACKAGES="glibc glibc-dev glibc-locale-de glibc-locale-us" |
SPLIT_PACKAGES="glibc glibc-dev glibc-locale-de glibc-locale-us" |
8 |
|
|
10 |
HOMEPAGE="http://www.gnu.org/software/libc/libc.html" |
HOMEPAGE="http://www.gnu.org/software/libc/libc.html" |
11 |
|
|
12 |
GLIBC_DEPEND=">= sys-apps/base-files-0.7 |
GLIBC_DEPEND=">= sys-apps/base-files-0.7 |
13 |
>= sys-libs/tzdata-2018" |
>= sys-libs/tzdata-2019" |
14 |
|
|
15 |
# we force headers to one specific version |
# we force headers to one specific version |
16 |
SDEPEND="== sys-kernel/linux-libc-headers-4.9.118 |
SDEPEND="== sys-kernel/linux-libc-headers-4.19.66 |
17 |
${GLIBC_DEPEND}" |
${GLIBC_DEPEND}" |
18 |
|
|
19 |
# functions to include in the mage file |
# functions to include in the mage file |
43 |
# glibc don't like strong CFLAGS |
# glibc don't like strong CFLAGS |
44 |
#export CFLAGS="${CFLAGS//-O?} -O2" |
#export CFLAGS="${CFLAGS//-O?} -O2" |
45 |
# glibc -> nptl thread don't like striping |
# glibc -> nptl thread don't like striping |
46 |
msetfeature "!strip" |
msetfeature "!strip static" |
47 |
|
|
48 |
# hack to fix NPTL issues with xen, only required on 32bit arches |
# hack to fix NPTL issues with xen, only required on 32bit arches |
49 |
if [[ ${ARCH} = i*86 ]] |
if [[ ${ARCH} = i*86 ]] |