summaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686/multiarch/Makefile
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-08-10 10:11:14 +0200
committerAndreas Schwab <schwab@redhat.com>2009-08-10 10:11:14 +0200
commit859300345b2632aa6c27f8c270356d8cc2e3c55f (patch)
tree5f4ffccaf0e99768e9156870078da79409629a14 /sysdeps/i386/i686/multiarch/Makefile
parent9b26179acf35751146b18ef1ed24a79bbea73276 (diff)
parentefa0569d2bfdbb7367fce42b1c99821b85d2d3ba (diff)
Merge commit 'origin/master' into fedora/master
Diffstat (limited to 'sysdeps/i386/i686/multiarch/Makefile')
-rw-r--r--sysdeps/i386/i686/multiarch/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/multiarch/Makefile b/sysdeps/i386/i686/multiarch/Makefile
index 33d98c36e6..e1553b284e 100644
--- a/sysdeps/i386/i686/multiarch/Makefile
+++ b/sysdeps/i386/i686/multiarch/Makefile
@@ -2,3 +2,14 @@ ifeq ($(subdir),csu)
aux += init-arch
gen-as-const-headers += ifunc-defines.sym
endif
+
+ifeq ($(subdir),string)
+ifeq (yes,$(config-cflags-sse4))
+sysdep_routines += strcspn-c strpbrk-c strspn-c strstr-c strcasestr-c
+CFLAGS-strcspn-c.c += -msse4
+CFLAGS-strpbrk-c.c += -msse4
+CFLAGS-strspn-c.c += -msse4
+CFLAGS-strstr.c += -msse4
+CFLAGS-strcasestr.c += -msse4
+endif
+endif