Home | History | Annotate | Line # | Download | only in mips
Makefile.inc revision 1.17
      1 #	$NetBSD: Makefile.inc,v 1.17 2009/12/14 00:41:18 matt Exp $
      2 
      3 SRCS+=		rtld_start.S mips_reloc.c
      4 
      5 # XXX Should not be in CPPFLAGS!
      6 CPUFLAGS+=	-G0
      7 
      8 ABI64?= ${CPUFLAGS:M-mabi=64:M-mabi=o64}
      9 .if !empty(ABI64)
     10 CPPFLAGS+=	-DELFSIZE=64
     11 .else
     12 CPPFLAGS+=	-DELFSIZE=32
     13 .endif
     14 CPPFLAGS+=	-DRTLD_INHIBIT_COPY_RELOCS
     15 AFLAGS+=	-Wa,--fatal-warnings
     16 
     17 LDFLAGS+=	-Wl,-e,rtld_start
     18