about summary refs log tree commit diff
path: root/sysdeps/i386/multiarch/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-08-25 06:06:30 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-08-27 09:35:12 -0700
commite83fa71eb5ec74c4d4ac49679443985196b8dc56 (patch)
treec91934d70e769898a1477bb8eeb4babe85ebf549 /sysdeps/i386/multiarch/Makefile
parent77e4166575426d29795e034b126cb6f4744fb34b (diff)
downloadglibc-e83fa71eb5ec74c4d4ac49679443985196b8dc56.tar.gz
glibc-e83fa71eb5ec74c4d4ac49679443985196b8dc56.tar.xz
glibc-e83fa71eb5ec74c4d4ac49679443985196b8dc56.zip
Add i386 wcschr/wcsrchr multiarch functions
Diffstat (limited to 'sysdeps/i386/multiarch/Makefile')
-rw-r--r--sysdeps/i386/multiarch/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/i386/multiarch/Makefile b/sysdeps/i386/multiarch/Makefile
index 89c86b49c4..3515759304 100644
--- a/sysdeps/i386/multiarch/Makefile
+++ b/sysdeps/i386/multiarch/Makefile
@@ -49,6 +49,10 @@ CFLAGS-strspn-sse4.c += -msse4
 endif
 endif
 
+ifeq ($(subdir),wcsmbs)
+sysdep_routines += wcschr-i386 wcschr-sse2 wcsrchr-i386 wcsrchr-sse2
+endif
+
 ifeq (mathyes,$(subdir)$(config-cflags-avx))
 libm-sysdep_routines += s_fma-fma s_fmaf-fma
 CFLAGS-s_fma-fma.c += -mavx -mfpmath=sse