Home | History | Annotate | Download | only in libc
History log of /src/lib/libc/Makefile.inc
RevisionDateAuthorComments
 1.22  23-Jan-2024  christos fix nested extern warnings
 1.21  20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.20  20-Apr-2021  christos branches: 1.20.6;
Instead of compiling files with -fcommon, create an include file and declare
the 3 symbols that need to be common using an attribute. Put all the 3 symbol
definitions in libc in one place (initfini.c). Reviewed by joerg@
 1.19  09-Jun-2018  christos branches: 1.19.4;
We can't build those three with MKSANITIZER, they are used too early.
 1.18  28-Aug-2015  joerg branches: 1.18.8; 1.18.12;
Don't unconditionally pass MLIBDIR via CPPFLAGS. Drop now dead branch.
 1.17  10-Dec-2014  pooka Add hooks for RUMPRUN build of libc

If "yes", does the following (default "no"):
* prevents ASM syscalls from being built (librump provides syscalls)
* does not include compat (useless when application is linked with libc)
* does not build tags (no /var/db to install them to)
* does not include tls

==> libc for rumprun can now be built against unmodified NetBSD sources
 1.16  19-Sep-2013  christos Pass MLIBDIR to CPPFLAGS.
 1.15  20-Aug-2013  joerg Disable -w for lint again. It clearly creates more issues than it ever
solved.
 1.14  21-Mar-2012  christos branches: 1.14.2;
welcome to WARNS=5
 1.13  19-Mar-2012  matt Move -D_DIAGNOSTIC to a separate line (makes it easier to comment out).
 1.12  17-Mar-2012  christos make lint exit on warnings
 1.11  13-Mar-2012  joerg Fix all the issues lint is too dumb to warn about and re-enable
-Wconstant-conversion.
 1.10  13-Mar-2012  joerg Disable -w again until the complains are resolved.
 1.9  13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.8  20-Jan-2012  joerg Remove code for CITRUS!=yes.
 1.7  10-Nov-2011  joerg G/C -nostdinc usage, --sysroot is provided automatically.
 1.6  30-May-2010  tnozaki branches: 1.6.6;
1. fix build problem CITRUS=no
2. make CITRUS={yes,no} knob friendly with libc/compat.
 1.5  22-Mar-2010  mrg convert -idirafter to -isystem, as recommended by cgd in PR 11843.
most of the list in that PR were already done.
 1.4  26-Oct-2008  mrg branches: 1.4.4;
use libcincludes.mk
 1.3  03-Jun-2007  christos We can USE_FORT now.
 1.2  28-May-2007  tls Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.1  11-Mar-2006  christos Add glue to build the compat library as a separate "libcold" turned off by
default. Clean up the libc Makefile and remove obsolete stuff such as copy
to libkern.
 1.4.4.2  26-Oct-2008  mrg use libcincludes.mk
 1.4.4.1  26-Oct-2008  mrg file Makefile.inc was added on branch christos-time_t on 2008-10-26 07:42:10 +0000
 1.6.6.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.6.2  17-Apr-2012  yamt sync with head
 1.6.6.1  10-Nov-2011  yamt sync with head
 1.14.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.12.1  25-Jun-2018  pgoyette Sync with HEAD
 1.18.8.1  09-Aug-2017  snj Apply patch (requested by mrg in ticket #204):
Don't define _DIAGNOSTIC in libc. When this was introduced in revision
1.9, it was intended to be turned off for release branches.
 1.19.4.1  21-Nov-2019  martin In preparation for the upcoming release, turn off DIAGNOSTIC in most
kernel configs, modules and libc.
 1.20.6.1  09-Oct-2023  snj Apply patch (requested by martin in ticket #401):
Disable DIAGNOSTIC/DEBUG.

RSS XML Feed