blob: 31aaeaed8f8e601b578908e13a6f99352346f753 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001# The Sparc `long double' is a distinct type we support.
2long-double-fcts = yes
3
4pie-ccflag = -fPIE
5
6ifeq ($(subdir),debug)
7CFLAGS-backtrace.c += -funwind-tables
8endif
9
10ifeq ($(subdir),gmon)
11sysdep_routines += sparc-mcount
12endif
13
14ifeq ($(subdir),db2)
15CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_SPARC_GCC=1
16endif
17
18ifeq ($(subdir),csu)
19CPPFLAGS-crti.S += -fPIC
20CPPFLAGS-crtn.S += -fPIC
21endif
22
23# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
24ASFLAGS-.os += -fPIC