Home | History | Annotate | Line # | Download | only in riscv
      1  1.2  christos # $NetBSD: Makefile.inc,v 1.2 2018/12/27 18:58:14 christos Exp $
      2  1.1      matt 
      3  1.1      matt SRCS+=		rtld_start.S mdreloc.c
      4  1.1      matt 
      5  1.1      matt # XXX Should not be in CPPFLAGS!
      6  1.1      matt CPPFLAGS+=	-fpic
      7  1.1      matt 
      8  1.1      matt .if ${LDELFSO_MACHINE_ARCH} == "riscv64"
      9  1.1      matt CPPFLAGS+=	-DELFSIZE=64
     10  1.1      matt .else
     11  1.1      matt CPPFLAGS+=	-DELFSIZE=32
     12  1.1      matt .endif
     13  1.1      matt 
     14  1.1      matt LDFLAGS+=	-Wl,-e,_rtld_start
     15