diff options
Diffstat (limited to 'usr/src/Makefile')
| -rw-r--r-- | usr/src/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile index e29a4c518a..47afb31733 100644 --- a/usr/src/Makefile +++ b/usr/src/Makefile @@ -193,8 +193,19 @@ sgs: rootdirs .WAIT sysheaders userheaders .WAIT \ # setup: closedbins bldtools sgs mapfiles +# +# Always build tools as non-DEBUG. +# When nightly launches a build it first builds non-DEBUG tools and then +# configures the environment so that these tools are used for building +# subsequently. If a recursive build from usr/src then builds DEBUG tools, +# the tools will be rebuilt using themselves resulting in a race condition +# that can cause the build to fail - see https://www.illumos.org/issues/10462 +# for more details. +# A manual build in usr/src/tools in a DEBUG bldenv will still do a DEBUG +# tools build. +# bldtools: - @cd tools; pwd; $(MAKE) install + @cd tools; pwd; $(MAKE) RELEASE_BUILD= install # /var/mail/:saved is a special case because of the colon in the name. # |
