diff options
| author | matt <matt@NetBSD.org> | 2013-07-10 15:08:38 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2013-07-10 15:08:38 +0000 |
| commit | fa00517c23c7f19a2ace17009c0a04b058f3967d (patch) | |
| tree | b73203426a4a9977872384a86212e915a24cf55d /libexec | |
| parent | ce6a1b86d84d25780943449e7a45d3d7b32d961a (diff) | |
Simplify ELFSIZE by using _MIPS_SZPTR
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ld.elf_so/arch/mips/Makefile.inc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libexec/ld.elf_so/arch/mips/Makefile.inc b/libexec/ld.elf_so/arch/mips/Makefile.inc index d5169f924e4..40cd2dc2d0e 100644 --- a/libexec/ld.elf_so/arch/mips/Makefile.inc +++ b/libexec/ld.elf_so/arch/mips/Makefile.inc @@ -1,16 +1,10 @@ -# $NetBSD: Makefile.inc,v 1.19 2010/07/11 07:43:12 mrg Exp $ +# $NetBSD: Makefile.inc,v 1.20 2013/07/10 15:08:38 matt Exp $ SRCS+= rtld_start.S mips_reloc.c COPTS+= -G0 -ABI64?= ${CFLAGS:M-mabi=64} ${CPPFLAGS:M-mabi=64} ${COPTS:M-mabi=64} -ABIO64?= ${CFLAGS:M-mabi=o64} ${CPPFLAGS:M-mabi=o64} ${COPTS:M-mabi=o64} -.if !empty(ABI64) || !empty(ABIO64) -CPPFLAGS+= -DELFSIZE=64 -.else -CPPFLAGS+= -DELFSIZE=32 -.endif +CPPFLAGS+= -DELFSIZE=_MIPS_SZPTR CPPFLAGS+= -DRTLD_INHIBIT_COPY_RELOCS AFLAGS+= -Wa,--fatal-warnings |
