Module Name: src
Committed By: simonb
Date: Tue Mar 23 11:56:55 UTC 2021
Modified Files:
src/sys/arch/mips/include: Makefile.inc
Log Message:
Remove addition of -msym32 to CFLAGS. Hinders rather than helps build
MIPS modules.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/mips/include/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/include/Makefile.inc
diff -u src/sys/arch/mips/include/Makefile.inc:1.10 src/sys/arch/mips/include/Makefile.inc:1.11
--- src/sys/arch/mips/include/Makefile.inc:1.10 Thu Jun 9 05:43:51 2016
+++ src/sys/arch/mips/include/Makefile.inc Tue Mar 23 11:56:55 2021
@@ -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 @@ CFLAGS+= -mno-abicalls
AFLAGS+= -mno-abicalls
.endif
-.if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
-CFLAGS+= -msym32
-.endif
-
AFLAGS+= -x assembler-with-cpp ${AOPTS}