0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2025-08-25 03:42:22 +00:00
Files
glibc-packages/gpkg/glibc/posix-Makefile.patch
Max Ivan 0bd3559405 gpkg/glibc: global update (#317)
- updated to 2.41
- added the glibc32 subpackage
- updated fakesyscall handling scheme
- moved all disabled syscalls to fakesyscall list
- added new syscalls to fakesyscall list
- disabled removal of old locales in `locale-gen`
- implemented syslog function, which is configured to work with the android log system
- implemented analog variables `LD_*` to customize glibc environment without affecting bionic environment ('GLIBC_LD_*')
- improved source code for flexible glibc compilation
2025-05-31 17:50:16 +03:00

22 lines
716 B
Diff

--- glibc-2.41/posix/Makefile 2025-01-28 20:31:33.000000000 +0300
+++ glibc-2.41/posix/Makefile.patch 2025-05-30 19:02:34.973934765 +0300
@@ -747,12 +747,17 @@
$(common-objpfx)malloc/mtrace $(objpfx)tst-glob-tilde.mtrace > $@; \
$(evaluate-test)
+ifeq (${TERMUX_ARCH},${TERMUX_REAL_ARCH})
+LIBBIT=
+else
+LIBBIT=32
+endif
$(inst_libexecdir)/getconf: $(inst_bindir)/getconf \
$(objpfx)getconf.speclist FORCE
$(addprefix $(..)./scripts/mkinstalldirs ,\
$(filter-out $(wildcard $@),$@))
while read spec; do \
- ln -f $< $@/$$spec.new || $(INSTALL_PROGRAM) $< $@/$$spec.new; \
+ ln -sfr $<$(LIBBIT) $@/$$spec.new; \
mv -f $@/$$spec.new $@/$$spec; \
done < $(objpfx)getconf.speclist