make sure to look in CFLAGS, COPTS and CPPFLAGS for abi options.
fixes sgimips64 build of n64 ld.elf_so.
This commit is contained in:
parent
6479f6e5b4
commit
c8cf27943d
@ -1,11 +1,11 @@
|
||||
# $NetBSD: Makefile.inc,v 1.18 2009/12/18 17:10:07 mrg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.19 2010/07/11 07:43:12 mrg Exp $
|
||||
|
||||
SRCS+= rtld_start.S mips_reloc.c
|
||||
|
||||
COPTS+= -G0
|
||||
|
||||
ABI64?= ${CFLAGS:M-mabi=64}
|
||||
ABIO64?= ${CFLAGS:M-mabi=o64}
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user