On 14.08.2003 23:10, Kris Kennaway wrote:
On Thu, Aug 14, 2003 at 05:28:54PM +0200, Guido Falsi wrote:
I's been a few days, the kernel on my machine is failing to build in the
same point...I tried cvsupping at various times.
The system is a -current from 19 July.
Build your kernel with WERROR= as discussed on this list.
There're 2 WERROR-related flages, NO_WERROR (bool, which
suppresses -Werror in some cases in /usr/share/mk/bsd.sys.mk)
and WERROR (string, contains Werror-Flag in
/usr/src/sys/conf/kern.pre.mk)
Suggestion to the Makefile maintainers:
--- kern.pre.mk.origFri Aug 15 14:32:40 2003
+++ kern.pre.mk Fri Aug 15 14:33:23 2003
@@ -52,7 +52,11 @@
.endif
.endif
DEFINED_PROF= ${PROF}
+.if defined(NO_WERROR)
+WERROR?= -Wno-error
+.else
WERROR?= -Werror
+.endif
INLINE_LIMIT?= 15000
CFLAGS+= -finline-limit=${INLINE_LIMIT} -fno-strict-aliasing
Best,
Jens
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"