Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/include Remove addition of -msym32 to CFLAGS. ...



details:   https://anonhg.NetBSD.org/src/rev/70388ae0bd9b
branches:  trunk
changeset: 953890:70388ae0bd9b
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Mar 23 11:56:55 2021 +0000

description:
Remove addition of -msym32 to CFLAGS. Hinders rather than helps build
MIPS modules.

diffstat:

 sys/arch/mips/include/Makefile.inc |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (18 lines):

diff -r e94502e84bca -r 70388ae0bd9b sys/arch/mips/include/Makefile.inc
--- a/sys/arch/mips/include/Makefile.inc        Tue Mar 23 11:41:53 2021 +0000
+++ b/sys/arch/mips/include/Makefile.inc        Tue Mar 23 11:56:55 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.10 2016/06/09 05:43:51 martin Exp $
+# $NetBSD: Makefile.inc,v 1.11 2021/03/23 11:56:55 simonb Exp $
 
 CFLAGS+=       -G 0 -ffixed-24
 
@@ -8,8 +8,4 @@
 AFLAGS+=       -mno-abicalls
 .endif
 
-.if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
-CFLAGS+=       -msym32
-.endif
-
 AFLAGS+=       -x assembler-with-cpp ${AOPTS}



Home | Main Index | Thread Index | Old Index