]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/powerpc/powerpc64/power7/Makefile
powerpc: Fix strstr/power7 build
[thirdparty/glibc.git] / sysdeps / powerpc / powerpc64 / power7 / Makefile
1 ifeq ($(subdir),elf)
2 # Prevent the use of VSX registers and insns in _dl_start, which under -O3
3 # optimization may require a TOC reference before relocations are resolved.
4 CFLAGS-rtld.c += -mno-vsx
5 endif
6
7 ifeq ($(subdir),string)
8 sysdep_routines += strstr-ppc64
9 CFLAGS-strncase.c += -funroll-loops
10 CFLAGS-strncase_l.c += -funroll-loops
11 endif