mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
glibc: re-enable .hash
This fixes running some Linux-compatible EAC games.
This commit is contained in:
parent
b4dae86acc
commit
f36d21c5a2
1 changed files with 10 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'glibc'
|
||||
pkgname=glibc
|
||||
version=2.38
|
||||
revision=3
|
||||
revision=4
|
||||
bootstrap=yes
|
||||
short_desc="GNU C library"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
|
@ -108,14 +108,20 @@ do_configure() {
|
|||
libc_cv_rtlddir=${_libdir} libc_cv_slibdir=${_libdir}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
post_configure() {
|
||||
# Less verbose output when compiling and assembling
|
||||
sed -i Makerules \
|
||||
vsed -i Makerules \
|
||||
-e 's|compile-command.c = \(.*\)|compile-command.c = @echo " CC $<"; \1|' \
|
||||
-e 's|compile-command.cc = \(.*\)|compile-command.cc = @echo " CXX $<"; \1|' \
|
||||
-e 's|compile-command.S = \(.*\)|compile-command.S = @echo " ASM $<"; \1|'
|
||||
}
|
||||
|
||||
do_build() {
|
||||
cd build
|
||||
make ${makejobs}
|
||||
# Enable both DT_GNU_HASH and DT_HASH for ld.so and DSOs to improve
|
||||
# compatibility with applications that expect DT_HASH.
|
||||
env LDFLAGS.so="-Wl,--hash-style=both" LDFLAGS-rtld="-Wl,--hash-style=both" \
|
||||
make ${makejobs}
|
||||
}
|
||||
do_install() {
|
||||
vlicense LICENSES
|
||||
|
|
Loading…
Add table
Reference in a new issue