aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-03-16 04:05:38 +0200
committerJukka Jylänki <jujjyl@gmail.com>2014-03-28 23:06:17 -0400
commit0967703fd279255e2f479e6bba9bb7ef48e1c7d6 (patch)
treef8352015292db760801067f8474598d463bbcf18 /tools
parentc4363b595cb2529345e3248b1f374595e83953ff (diff)
Migrate to using musl 0.9.13 strdup and strndup for better asm.js performace.
Diffstat (limited to 'tools')
-rw-r--r--tools/system_libs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/system_libs.py b/tools/system_libs.py
index f61e2f79..527c573a 100644
--- a/tools/system_libs.py
+++ b/tools/system_libs.py
@@ -248,9 +248,11 @@ def calculate(temp_files, in_temp, stdout, stderr):
'strchr.c',
'strchrnul.c',
'strcspn.c',
+ 'strdup.c',
'strlcat.c',
'strlcpy.c',
'strncat.c',
+ 'strndup.c',
'strnlen.c',
'strrchr.c',
'strsep.c',