Module Name: src
Committed By: mrg
Date: Tue Dec 22 04:51:26 UTC 2009
Modified Files:
src/gnu/lib/crtstuff4 [matt-nb5-mips64]: Makefile
Log Message:
pullup from -current:
>revision 1.4
>date: 2009/12/17 07:24:06; author: mrg; state: Exp; lines: +10 -1
>copy across a hack from the mips libc/mcount build. self documenting:
>
>+.if (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
>+# Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
>+# and GCC configury passes -finhibit-size-directive which causes mips-gas
>+# to barf. Don't know what the real fix for this is...
>+#
>+# XXX should be COPTS, but that's too early
>+CPUFLAGS+=-Wa,--no-warn
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.10.1 src/gnu/lib/crtstuff4/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/gnu/lib/crtstuff4/Makefile
diff -u src/gnu/lib/crtstuff4/Makefile:1.3 src/gnu/lib/crtstuff4/Makefile:1.3.10.1
--- src/gnu/lib/crtstuff4/Makefile:1.3 Mon Aug 4 04:53:22 2008
+++ src/gnu/lib/crtstuff4/Makefile Tue Dec 22 04:51:26 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/08/04 04:53:22 lukem Exp $
+# $NetBSD: Makefile,v 1.3.10.1 2009/12/22 04:51:26 mrg Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -66,6 +66,15 @@
${CC} ${CPPFLAGS} ${GCFLAGS} ${CPUFLAGS} -c ${.IMPSRC} -o ${.TARGET}.o
mv ${.TARGET}.o ${.TARGET}
+.if (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
+# Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
+# and GCC configury passes -finhibit-size-directive which causes mips-gas
+# to barf. Don't know what the real fix for this is...
+#
+# XXX should be COPTS, but that's too early
+CPUFLAGS+=-Wa,--no-warn
+.endif
+
.else
.include <bsd.prog.mk> # do nothing