summaryrefslogtreecommitdiff
path: root/usr/src/Makefile
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2020-02-07 16:02:39 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2020-02-07 16:02:39 +0000
commit160e9fdbf38459e565d0e84e0c52f3ddfba945b5 (patch)
tree7846134133be3d71420924f21fe7c49441344514 /usr/src/Makefile
parent2629cc82ee1e239547b58417ba97fc7e8d7543b7 (diff)
downloadillumos-joyent-160e9fdbf38459e565d0e84e0c52f3ddfba945b5.tar.gz
add ld assert-deflib and guidance to gate build [fix build race which fails local library validation]
Diffstat (limited to 'usr/src/Makefile')
-rw-r--r--usr/src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile
index 566050738b..2fce5ba301 100644
--- a/usr/src/Makefile
+++ b/usr/src/Makefile
@@ -191,6 +191,10 @@ $(SUBDIRS) head ucbhead pkg: FRC
sgs: rootdirs .WAIT sysheaders userheaders .WAIT \
libheaders ucbheaders cmdheaders
+# To prevent 'ld: warning: dynamic library found on default search path', make
+# sure we've finished building all of the libraries before doing cmd and test.
+test cmd: lib
+
#
# Top-level setup target to setup the development environment that includes
# headers, tools and generated mapfiles. For open-only builds (i.e.: source