gcc/libphobos/libdruntime
Iain Buclaw c0dbfbd763 libphobos: Add --enable-libphobos-checking configure option
As GDCFLAGS is overriden by the top-level make file with '-O2 -g',
libphobos ends up always being built with all contracts, invariants, and
asserts compiled in.  This adds a new configurable that defaults to omit
compiling any run-time checks into the library using '-frelease'.

Other choices either set the flags '-fno-release', enabling all run-time
checks, or '-fassert', which only compiles in asserts.

The omission of compiling in contracts results in a smaller library
size, with faster build times.

libphobos/ChangeLog:

	PR d/94305
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* configure.ac: Add --enable-libphobos-checking and substitute
	CHECKING_DFLAGS.  Remove -frelease from GDCFLAGS.
	* libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
	* libdruntime/Makefile.in: Regenerate.
	* src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
	* src/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/testsuite_flags.in: Add -fno-release -funittest to
	--gdcflags.
2020-04-09 00:46:39 +02:00
..
config S/390: Fix PR91628 2020-04-07 21:08:06 +02:00
core S/390: Fix layout of struct sigaction_t 2020-04-07 16:15:28 +02:00
gc libphobos: Merge upstream druntime 94686651 2019-08-21 07:54:19 +00:00
gcc S/390: Fix PR91628 2020-04-07 21:08:06 +02:00
gcstub
rt d/dmd: Merge upstream dmd f8e38c001 2019-06-16 07:50:07 +00:00
__entrypoint.di Update copyright years. 2020-01-01 12:51:42 +01:00
__main.di Update copyright years. 2020-01-01 12:51:42 +01:00
LICENSE
Makefile.am libphobos: Add --enable-libphobos-checking configure option 2020-04-09 00:46:39 +02:00
Makefile.in libphobos: Add --enable-libphobos-checking configure option 2020-04-09 00:46:39 +02:00
MERGE libphobos: Merge upstream phobos fb4f6a713 2020-04-08 06:28:51 +02:00
object.d re PR d/90079 (SEGV in _aaKeys, _aaValues on 32-bit SPARC) 2019-04-23 15:19:55 +00:00