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