mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-12 00:24:52 -04:00
17 lines
393 B
Makefile
17 lines
393 B
Makefile
# $NetBSD: Makefile.inc,v 1.20 2013/09/10 16:35:10 matt Exp $
|
|
|
|
SRCS+= rtld_start.S mdreloc.c
|
|
#CPUFLAGS.rtld_start.S+= -marm
|
|
|
|
# XXX Should not be in CPPFLAGS!
|
|
CPPFLAGS+= -fpic
|
|
|
|
CPPFLAGS+= -DELFSIZE=32
|
|
.if !empty(LDELFSO_MACHINE_ARCH:Mearm*)
|
|
CPPFLAGS+= -DHAVE_INITFINI_ARRAY
|
|
CPPFLAGS+= -DELF_NOTE_MARCH_DESC=\"${LDELFSO_MACHINE_ARCH}\"
|
|
SRCS+= find_exidx.c
|
|
.endif
|
|
|
|
LDFLAGS+= -Wl,-e,_rtld_start
|