summaryrefslogtreecommitdiff
path: root/libexec/ld.elf_so/arch/sparc/Makefile.inc
blob: a357be7ab06359c92cc62203615f4acbc8677276 (plain)
1
2
3
4
5
6
7
8
9
10
11
#	$NetBSD: Makefile.inc,v 1.15 2018/04/03 21:10:27 joerg Exp $

SRCS+=		rtld_start.S mdreloc.c

# XXX Should not be in CPPFLAGS!
CPPFLAGS+=	-fpic

CPPFLAGS+=	-DELFSIZE=32
CPPFLAGS+=	-DRTLD_COMMON_CALL_IFUNC_RELA

LDFLAGS+=	-Wl,-e,_rtld_start