summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.kern.mk
Commit message (Collapse)AuthorAgeFilesLines
* Move some compile flags from the kernel makefile to bsd.kern.mk so thatdfr1998-12-171-1/+9
| | | | | | kernel modules are built with the right flags. Suggested by: Andrew Gallatin <gallatin@cs.duke.edu>
* Add -Wunused to kernel build flags.archie1998-12-141-3/+3
| | | | Reviewed by: cvs-committers@freebsd.org
* Turned on -Wformat -fformat-extensions. -fformat-extensions requires abde1998-09-091-3/+4
| | | | | -current version of gcc. Without it, -Wformat would complain about all the nonstandard %[Dbrz] formats in the kernel.
* Added -ansi to CWARNFLAGS so that ANSI errors don't come back.bde1998-05-011-2/+2
|
* Oops, comment lines can't be indented either.bde1997-10-211-3/+2
|
* Oops, comment lines can't be continued.bde1997-10-211-3/+3
|
* Added -Wuninitialized to CWARNFLAGS. Warnings about uninitialializedbde1997-10-211-2/+3
| | | | | | | | variables were lost when we removed -W, and 23 new ones including at least one serious one have crept in for LINT. Restored -Winline to CFLAGS. This gives only 3 old warnings and 1 new for LINT.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Turned off -W and -Winline so that the warnings that should be fixed forbde1996-11-111-3/+3
| | | | | | | | | | | | 2.2 are more obvious. -Winline is unimportant, but -W gives thousands of warnings for comparisions. Turning off -W also loses warnings for: - auto variables clobbered by longjmp. Not much of a problem in the kernel. - functions returning without a value. I don't like losing this. - an expression statement or the left side of a comma operand contains no side effects. Turning this off also stops warnings for the low quality debugging macros in gsc.c and lpt.c. Should be in 2.2.
* Oops, this wasn't supposed to have -Wcast-qual yet.bde1996-10-091-2/+2
| | | | | | | Also disabled -Wunused. It caused too many warnings even for me. The sign mismatch warnings should be fixed first. They are more important and harder to disable (they are controlled by -W, which controls too many things).
* Oops, forgot to cvs add bsd.kern.mk.bde1996-10-081-0/+15
Centralized the definition of CWARNFLAGS into bsd.kern.mk.
OpenPOWER on IntegriCloud