| #
c4b7a9e7 |
| 03-Jun-2023 |
lukem <lukem@NetBSD.org> |
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_IMPL
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.
show more ...
|
| #
0056d140 |
| 08-Feb-2020 |
fox <fox@NetBSD.org> |
games/hack: Suppress -Werror=stringop-truncation error.
Add GCC_NO_STRINGOP_TRUNCATION to hack.end.c to prevent build failure.
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag
games/hack: Suppress -Werror=stringop-truncation error.
Add GCC_NO_STRINGOP_TRUNCATION to hack.end.c to prevent build failure.
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@
show more ...
|
| #
de11d876 |
| 13-Oct-2019 |
mrg <mrg@NetBSD.org> |
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_STRI
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."
show more ...
|
| #
e2bd4b07 |
| 24-Aug-2011 |
plunky <plunky@NetBSD.org> |
-Wno-shadow is no longer needed for HAVE_PCC, here
|
| #
72db7ca9 |
| 16-Aug-2011 |
christos <christos@NetBSD.org> |
- document non-literal format strings - avoid strict aliasing violations, but adding an intermediate function.
|
| #
c111245a |
| 22-Jun-2011 |
mrg <mrg@NetBSD.org> |
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.
|
| #
98eb8895 |
| 03-Feb-2010 |
roy <roy@NetBSD.org> |
Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
|
| #
3c9a9591 |
| 29-Aug-2008 |
gmcgarry <gmcgarry@NetBSD.org> |
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
|
| #
feaaa5ed |
| 25-Feb-2006 |
simonb <simonb@NetBSD.org> |
Change DPADD from LIBTERM (which doesn't exist) and LIBCOMPAT (which it doesn't use) to LIBTERMCAP (which it does use).
|
| #
e606e2dc |
| 16-Nov-2003 |
lukem <lukem@NetBSD.org> |
Improve how various "simple" host tools are built and invoked.
|
| #
130ab733 |
| 21-Oct-2003 |
lukem <lukem@NetBSD.org> |
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. Id
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.
show more ...
|
| #
ddff99b7 |
| 19-Oct-2003 |
lukem <lukem@NetBSD.org> |
rework to use the newer _MKMSGCREATE (et al) macros
|
| #
2b8c8463 |
| 19-Oct-2003 |
lukem <lukem@NetBSD.org> |
Support MAKEVERBOSE. (Some host tools still generate verbose runtime messages)
|
| #
a93ea220 |
| 01-Aug-2003 |
lukem <lukem@NetBSD.org> |
Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES. This is a change of behaviour. If a Makefile wants the clean semantics it
Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES. This is a change of behaviour. If a Makefile wants the clean semantics it must specifically append to CLEANFILES. Resolves PR toolchain/5204.
* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS that have a suffix of: .c .m .s .S .C .cc .cpp .cxx
* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES
* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}
* Deprecate the (short lived) DEPENDSRCS
Update the various Makefiles to these new semantics; generally either adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing specific .o dependencies with DPSRCS entries.
Tested with "make -j 8 distribution" and "make distribution".
show more ...
|
| #
403ce9dc |
| 31-Jul-2003 |
lukem <lukem@NetBSD.org> |
simplify and use ${DEPENDSRCS} as a target as appropriate
|
| #
5ab89c4a |
| 05-Mar-2002 |
thorpej <thorpej@NetBSD.org> |
No need to reference .OBJDIR here.
|
| #
e2311f6f |
| 09-Feb-2002 |
lukem <lukem@NetBSD.org> |
use ${INSTALL_FILE} as appropriate
|
| #
cd2e1c1e |
| 23-Sep-2000 |
simonb <simonb@NetBSD.org> |
Use ${COPY} instead of -c for ${INSTALL} commands.
|
| #
b729f2c7 |
| 21-Aug-1999 |
simonb <simonb@NetBSD.org> |
Use ${INSTPRIV} with ${INSTALL}.
|
| #
16a09f01 |
| 06-Dec-1998 |
dbj <dbj@NetBSD.org> |
tweaks to pass DESTDIR to subprograms when it is defined in /etc/mk.conf but is not in the environment.
|
| #
aaae79a7 |
| 12-Sep-1998 |
wrstuden <wrstuden@NetBSD.org> |
Make the helper programs compile right in a cross-compiling environment.
|
| #
999b5ad1 |
| 20-Nov-1997 |
mrg <mrg@NetBSD.org> |
install games files with the correct permissions.
|
| #
6074e1b4 |
| 20-Nov-1997 |
mrg <mrg@NetBSD.org> |
install games that need it setgid.
|
| #
2b90aecd |
| 22-Oct-1997 |
lukem <lukem@NetBSD.org> |
use CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile
|
| #
3ea4a95c |
| 19-Oct-1997 |
christos <christos@NetBSD.org> |
WARNsify...
|