Home | History | Annotate | Download | only in common
History log of /src/usr.sbin/mopd/common/Makefile
RevisionDateAuthorComments
 1.25  24-Sep-2025  mrg alpha-gcc14 triggers an ICE in file.c:

mopd/common/file.c:296:1: internal compiler error: in gen_rtx_SUBREG, at emit-rtl.cc:1032
296 | }
| ^
 1.24  03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.23  31-Oct-2021  christos Put the NOAOUT in one place
 1.22  31-Oct-2021  christos USE CPPFLAGS instead of CFLAGS for -D !
 1.21  13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
 1.20  27-Jul-2014  dholland branches: 1.20.24;
Fix broken snprintf usage; noted in PR 47976 from Henning Petersen.
As a bonus, this removes the nonliteral format arguments.
 1.19  10-Aug-2012  joerg branches: 1.19.2; 1.19.8;
Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply
to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.
 1.18  25-Aug-2011  joerg branches: 1.18.2;
Use of non-literal format strings
 1.17  16-Aug-2011  christos gcc-4.5 is picky about potential negative indexes. appease it.
 1.16  22-Jun-2011  mrg apply some -Wno-error and/or -fno-strict-aliasing.


all of this should be looked at closer, but some of them are not
very trivial.
 1.15  20-Jun-2011  mrg remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
 1.14  20-Aug-2009  he branches: 1.14.4;
Define NOAOUT if we're building for mips.
 1.13  25-Oct-2008  apb Use ${TOOL_SED} instead if plain sed in Makefiles.
 1.12  29-Aug-2008  gmcgarry Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
 1.11  03-May-2008  lukem branches: 1.11.2;
Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
 1.10  12-May-2006  mrg branches: 1.10.18;
use -Wno-pointer-sign with GCC4.
 1.9  23-May-2004  lukem Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
 1.8  21-Oct-2003  lukem Rework how MAKEVERBOSE operates:

* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.

* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
 1.7  19-Oct-2003  lukem support MAKEVERBOSE
 1.6  20-Apr-2003  christos PR/3343: Jonathan Stone: Errors and warnings to stderr if interactive
 1.5  18-Sep-2002  lukem minor makefile delint
 1.4  12-Dec-2001  tv MKfoo=no -> NOfoo
 1.3  13-Mar-1999  lukem set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
 1.2  13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.1  16-Oct-1997  lukem - compile common code once (into libcommon.a), and link that in.
cut's compilation time by half!
- build a common version.c in libcommon.a
- don't build version.h - nothing uses it
- comment out the ifdef INFO and -DINFO stuff - it's always compiled in
- XXX: don't compile mopprobe with -DNODL (which actually changes the
compilation of stuff in common/*). nothing else does this, and it
meant that mopprobe would have had different behaviour. if this behaviour
is desired, a workaround can be put in place
 1.10.18.1  18-May-2008  yamt sync with head.
 1.11.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.14.4.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.18.2.1  30-Oct-2012  yamt sync with head
 1.19.8.1  10-Aug-2014  tls Rebase.
 1.19.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.20.24.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed