glibc: do not strip shlibs to make valgrind work ootb.
The generated -dbg pkg will be almost useless from now on.
This commit is contained in:
parent
eecd69a41d
commit
b5a52cc50a
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'glibc'
|
# Template file for 'glibc'
|
||||||
pkgname=glibc
|
pkgname=glibc
|
||||||
version=2.21
|
version=2.21
|
||||||
revision=4
|
revision=5
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="The GNU C library"
|
short_desc="The GNU C library"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -20,13 +20,33 @@ nostrip_files="
|
||||||
POSIX_V6_LP64_OFF64
|
POSIX_V6_LP64_OFF64
|
||||||
POSIX_V7_LP64_OFF64
|
POSIX_V7_LP64_OFF64
|
||||||
XBS5_LP64_OFF64"
|
XBS5_LP64_OFF64"
|
||||||
|
# Do not strip shlibs required by valgrind.
|
||||||
|
nostrip_files="
|
||||||
|
ld-${version}.so
|
||||||
|
libdl-{version}.so
|
||||||
|
libanl-${version}.so
|
||||||
|
libcidn-${version}.so
|
||||||
|
libresolv-${version}.so
|
||||||
|
libcrypt-${version}.soa
|
||||||
|
libpthread-${version}.so
|
||||||
|
libm-${version}.so
|
||||||
|
libutil-${version}.so
|
||||||
|
libthread_db-1.0.so
|
||||||
|
librt-${version}.so
|
||||||
|
libnsl-${version}.so
|
||||||
|
libc-${version}.so
|
||||||
|
libBrokenLocale-${version}.so
|
||||||
|
libnss_compat-${version}.so
|
||||||
|
libnss_db-${version}.so
|
||||||
|
libnss_dns-${version}.so
|
||||||
|
libnss_files-${version}.so
|
||||||
|
libnss_hesiod-${version}.so
|
||||||
|
libnss_nis-${version}.so"
|
||||||
|
|
||||||
conf_files="
|
conf_files="
|
||||||
/etc/rpc
|
/etc/rpc
|
||||||
/etc/gai.conf
|
/etc/gai.conf
|
||||||
/etc/ld.so.conf"
|
/etc/ld.so.conf"
|
||||||
# Force creation of -dbg pkg, required by valgrind.
|
|
||||||
force_debug_pkgs=yes
|
|
||||||
|
|
||||||
if [ "$CHROOT_READY" ]; then
|
if [ "$CHROOT_READY" ]; then
|
||||||
hostmakedepends="bison perl"
|
hostmakedepends="bison perl"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue