mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 15:28:30 +00:00
Give Emacs another performance boost
This commit is contained in:
parent
5b42c810a5
commit
9c7b81ee0f
30 changed files with 253 additions and 102 deletions
3
third_party/musl/musl.mk
vendored
3
third_party/musl/musl.mk
vendored
|
@ -25,7 +25,8 @@ THIRD_PARTY_MUSL_A_DIRECTDEPS = \
|
|||
LIBC_RUNTIME \
|
||||
LIBC_STDIO \
|
||||
LIBC_STR \
|
||||
LIBC_SYSV
|
||||
LIBC_SYSV \
|
||||
THIRD_PARTY_ZLIB
|
||||
|
||||
THIRD_PARTY_MUSL_A_DEPS := \
|
||||
$(call uniq,$(foreach x,$(THIRD_PARTY_MUSL_A_DIRECTDEPS),$($(x))))
|
||||
|
|
10
third_party/musl/pwd.c
vendored
10
third_party/musl/pwd.c
vendored
|
@ -44,6 +44,16 @@ Copyright 2005-2014 Rich Felker, et. al.\"");
|
|||
asm(".include \"libc/disclaimer.inc\"");
|
||||
/* clang-format off */
|
||||
|
||||
#ifdef FTRACE
|
||||
// if the default mode debugging tools are enabled, and we're linking
|
||||
// something as substantive as this library, then we shall assume the
|
||||
// application is meaty enough to benefit from the performance of the
|
||||
// chromium zlib library (costs ~40kb binary) versus just having puff
|
||||
__static_yoink("_Cz_inflateInit2");
|
||||
__static_yoink("_Cz_inflate");
|
||||
__static_yoink("_Cz_inflateEnd");
|
||||
#endif
|
||||
|
||||
static char *
|
||||
__create_synthetic_passwd_file(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue