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