summaryrefslogtreecommitdiff
path: root/libc/string/x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/x86_64')
-rw-r--r--libc/string/x86_64/strcmp.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/string/x86_64/strcmp.S b/libc/string/x86_64/strcmp.S
index 3ef2d3133..b0252f341 100644
--- a/libc/string/x86_64/strcmp.S
+++ b/libc/string/x86_64/strcmp.S
@@ -41,4 +41,7 @@ L(neq): movl $1, %eax
END (BP_SYM (__strcmp))
strong_alias(__strcmp,strcmp)
+#ifndef __UCLIBC_HAS_LOCALE__
hidden_strong_alias(__strcmp,__strcoll)
+strong_alias(__strcmp,strcoll)
+#endif