summaryrefslogtreecommitdiffstats
path: root/libexec/ld.so/sparc64/Makefile.inc
blob: a06039d6c7226f5ee21c6a47b1b86171bd76fb43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#	$OpenBSD: Makefile.inc,v 1.4 2020/08/11 23:32:06 jca Exp $

CFLAGS += -fpic -msoft-float
AFLAGS += -fpic
LD_SCRIPT = ${.CURDIR}/${MACHINE_CPU}/ld.script

.if ${COMPILER_VERSION} == "clang"
# extract components from libcompiler_rt.a
MDOBJ=	multi3.o
${MDOBJ}:
	ar x `$(CC) -print-libgcc-file-name` ${MDOBJ}
OBJS+=${MDOBJ}
.endif

RELATIVE_RELOC=R_SPARC_RELATIVE