summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc64/power7/Makefile
blob: 40aacfa15a182af9fabd2b75692ba8e5a5899a49 (plain)
1
2
3
4
5
6
7
8
9
10
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)
CFLAGS-strncase.c += -funroll-loops
CFLAGS-strncase_l.c += -funroll-loops
endif