Source-Changes-HG archive

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

[src/trunk]: src/share/mk On MIPS if we compile C files as N64, compile assem...



details:   https://anonhg.NetBSD.org/src/rev/80cfb0221775
branches:  trunk
changeset: 960799:80cfb0221775
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Mar 29 05:22:49 2021 +0000

description:
On MIPS if we compile C files as N64, compile assembly with the same ABI.

diffstat:

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

diffs (21 lines):

diff -r 366151aa7ae6 -r 80cfb0221775 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk   Mon Mar 29 05:18:02 2021 +0000
+++ b/share/mk/bsd.kmodule.mk   Mon Mar 29 05:22:49 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmodule.mk,v 1.75 2021/03/23 13:22:40 simonb Exp $
+#      $NetBSD: bsd.kmodule.mk,v 1.76 2021/03/29 05:22:49 simonb Exp $
 
 # We are not building this with PIE
 MKPIE=no
@@ -57,9 +57,11 @@
 CFLAGS+=       -fPIC -Wa,-fno-pic
 .elif ${MACHINE_ARCH} == "mips64eb" && !defined(BSD_MK_COMPAT_FILE)
 CFLAGS+=       -mabi=64
+AFLAGS+=       -mabi=64
 LDFLAGS+=      -Wl,-m,elf64btsmip
 .elif ${MACHINE_ARCH} == "mips64el" && !defined(BSD_MK_COMPAT_FILE)
 CFLAGS+=       -mabi=64
+AFLAGS+=       -mabi=64
 LDFLAGS+=      -Wl,-m,elf64ltsmip
 .endif
 



Home | Main Index | Thread Index | Old Index