dholland
3eddbcc25e
Fix broken snprintf usage; noted in PR 47976 from Henning Petersen.
...
As a bonus, this removes the nonliteral format arguments.
2014-07-27 04:38:03 +00:00
joerg
9b3bb3443b
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.
2012-08-10 12:10:27 +00:00
joerg
6e5fe150f1
Use of non-literal format strings
2011-08-25 16:47:20 +00:00
christos
c0180dc6d9
gcc-4.5 is picky about potential negative indexes. appease it.
2011-08-16 16:45:20 +00:00
mrg
d9b5972014
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.
2011-06-22 02:49:41 +00:00
mrg
174f8a4a36
remove most of the remaining HAVE_GCC tests that are always true in
...
the modern world.
2011-06-20 07:43:56 +00:00
he
ceb32b93af
Define NOAOUT if we're building for mips.
2009-08-20 21:59:12 +00:00
apb
e620f0410d
Use ${TOOL_SED} instead if plain sed in Makefiles.
2008-10-25 22:27:34 +00:00
gmcgarry
8c68c4f018
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
2008-08-29 00:02:21 +00:00
lukem
78effd319d
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)
2008-05-03 14:48:30 +00:00
mrg
2d66b4f2c1
use -Wno-pointer-sign with GCC4.
2006-05-12 01:54:57 +00:00
lukem
d1330fc30d
Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
...
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
lukem
c77e1a0b77
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.
2003-10-21 10:01:19 +00:00
lukem
f8f1b72461
support MAKEVERBOSE
2003-10-19 06:12:07 +00:00
christos
1b89cfc426
PR/3343: Jonathan Stone: Errors and warnings to stderr if interactive
2003-04-20 00:17:22 +00:00
lukem
a6819b86f6
minor makefile delint
2002-09-18 13:31:52 +00:00
tv
03e0abbeb8
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
lukem
b457dede0f
set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
1999-03-13 23:17:46 +00:00
lukem
e5a6508d61
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
lukem
6d97281944
- 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
1997-10-16 07:36:12 +00:00