about summary refs log tree commit diff
path: root/sysdeps/sparc64/elf/Makefile
blob: 1b38355b3875675d1169d1cc44fe7a15ef059d7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
ASFLAGS-.so = -fPIC

ifeq ($(subdir), csu)
extra-objs += crtbegin.o crtend.o crtbeginS.o crtendS.o
install-lib += crtbegin.o crtend.o crtbeginS.o crtendS.o

CPPFLAGS-crtbeginS.S = -fPIC -DPIC
CPPFLAGS-crtendS.S = -fPIC -DPIC
endif