Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Don't add anything to CFLAGS/LDFLAGS on mips64 is B...



details:   https://anonhg.NetBSD.org/src/rev/ec95216d8583
branches:  trunk
changeset: 809200:ec95216d8583
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jun 24 13:42:53 2015 +0000

description:
Don't add anything to CFLAGS/LDFLAGS on mips64 is BSD_MK_COMPAT_FILE is set.

diffstat:

 share/mk/bsd.kmodule.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 46ae44ab600f -r ec95216d8583 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk   Wed Jun 24 11:09:26 2015 +0000
+++ b/share/mk/bsd.kmodule.mk   Wed Jun 24 13:42:53 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmodule.mk,v 1.53 2015/05/02 18:18:13 matt Exp $
+#      $NetBSD: bsd.kmodule.mk,v 1.54 2015/06/24 13:42:53 matt Exp $
 
 # We are not building this with PIE
 MKPIE=no
@@ -37,10 +37,10 @@
 CFLAGS+=       -fno-pic
 .elif ${MACHINE_CPU} == "riscv"
 CFLAGS+=       -fPIC -Wa,-fno-pic
-.elif ${MACHINE_ARCH} == "mips64eb"
+.elif ${MACHINE_ARCH} == "mips64eb" && !defined(BSD_MK_COMPAT_FILE)
 CFLAGS+=       -mabi=64
 LDFLAGS+=      -Wl,-m,elf64btsmip
-.elif ${MACHINE_ARCH} == "mips64el"
+.elif ${MACHINE_ARCH} == "mips64el" && !defined(BSD_MK_COMPAT_FILE)
 CFLAGS+=       -mabi=64
 LDFLAGS+=      -Wl,-m,elf64ltsmip
 .endif



Home | Main Index | Thread Index | Old Index