mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-14 09:39:20 -04:00
16 lines
310 B
Makefile
16 lines
310 B
Makefile
# $NetBSD: Makefile.inc,v 1.1 2014/09/19 17:36:25 matt Exp $
|
|
|
|
SRCS+= rtld_start.S mdreloc.c
|
|
|
|
# XXX Should not be in CPPFLAGS!
|
|
CPPFLAGS+= -fpic
|
|
|
|
.if ${LDELFSO_MACHINE_ARCH} == "riscv64"
|
|
CPPFLAGS+= -DELFSIZE=64
|
|
.else
|
|
CPPFLAGS+= -DELFSIZE=32
|
|
.endif
|
|
CPPFLAGS+= -DHAVE_INITFINI_ARRAY
|
|
|
|
LDFLAGS+= -Wl,-e,_rtld_start
|