Home | History | Annotate | Line # | Download | only in riscv
Makefile.inc revision 1.1
      1  1.1  matt # $NetBSD: Makefile.inc,v 1.1 2014/09/19 17:36:25 matt 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 CPPFLAGS+=	-DHAVE_INITFINI_ARRAY
     14  1.1  matt 
     15  1.1  matt LDFLAGS+=	-Wl,-e,_rtld_start
     16