summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc64/power7/Makefile
blob: 89a2296085082b6afe857696d0775107993b0c52 (plain)
1
2
3
4
5
6
7
8
9
10
11
ifeq ($(subdir),elf)
# Prevent the use of VSX registers and insns in _dl_start, which under -O3
# optimization may require a TOC reference before relocations are resolved.
CFLAGS-rtld.c += -mno-vsx
endif

ifeq ($(subdir),string)
sysdep_routines += strstr-ppc64
CFLAGS-strncase.c += -funroll-loops
CFLAGS-strncase_l.c += -funroll-loops
endif