Fix pread consolidation on ports that require argument alignment
[glibc.git] / sysdeps / sparc / Makefile
blob31aaeaed8f8e601b578908e13a6f99352346f753
1 # The Sparc `long double' is a distinct type we support.
2 long-double-fcts = yes
4 pie-ccflag = -fPIE
6 ifeq ($(subdir),debug)
7 CFLAGS-backtrace.c += -funwind-tables
8 endif
10 ifeq ($(subdir),gmon)
11 sysdep_routines += sparc-mcount
12 endif
14 ifeq ($(subdir),db2)
15 CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_SPARC_GCC=1
16 endif
18 ifeq ($(subdir),csu)
19 CPPFLAGS-crti.S += -fPIC
20 CPPFLAGS-crtn.S += -fPIC
21 endif
23 # The assembler on SPARC needs the -fPIC flag even when it's assembler code.
24 ASFLAGS-.os += -fPIC