Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so/arch/mips make sure to look in CFLAGS, COP...
details: https://anonhg.NetBSD.org/src/rev/e8e9dec88bd9
branches: trunk
changeset: 756294:e8e9dec88bd9
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Jul 11 07:43:12 2010 +0000
description:
make sure to look in CFLAGS, COPTS and CPPFLAGS for abi options.
fixes sgimips64 build of n64 ld.elf_so.
diffstat:
libexec/ld.elf_so/arch/mips/Makefile.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r 93f1b854df83 -r e8e9dec88bd9 libexec/ld.elf_so/arch/mips/Makefile.inc
--- a/libexec/ld.elf_so/arch/mips/Makefile.inc Sun Jul 11 06:16:54 2010 +0000
+++ b/libexec/ld.elf_so/arch/mips/Makefile.inc Sun Jul 11 07:43:12 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index