On 09/04/2020 12:02, Matthias Klose wrote: > On 4/9/20 12:47 AM, Iain Buclaw via Gcc-patches wrote: >> Hi, >> >> 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. > > please could you document these in gcc/doc/install.texi, maybe together with > other undocumented options? > > Thanks, Matthias >
The thought did cross my mind, I wanted to remove all archaic/nonsense configure options first. Iain.