diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86/Makefile | 4 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/strcasestr-nonascii.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile new file mode 100644 index 0000000000..f25d1e2415 --- /dev/null +++ b/sysdeps/x86/Makefile @@ -0,0 +1,4 @@ +ifeq ($(subdir),elf) +CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\ + -mno-sse -mno-mmx) +endif diff --git a/sysdeps/x86_64/multiarch/strcasestr-nonascii.c b/sysdeps/x86_64/multiarch/strcasestr-nonascii.c index a1f9968848..db84a43ac0 100644 --- a/sysdeps/x86_64/multiarch/strcasestr-nonascii.c +++ b/sysdeps/x86_64/multiarch/strcasestr-nonascii.c @@ -16,7 +16,8 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -# include <ctype.h> +#include <ctype.h> +#include <xmmintrin.h> /* Similar to __m128i_strloadu. Convert to lower case for none-POSIX/C |