summaryrefslogtreecommitdiff
path: root/usr/src/tools/env/illumos.sh
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/tools/env/illumos.sh')
-rw-r--r--usr/src/tools/env/illumos.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/tools/env/illumos.sh b/usr/src/tools/env/illumos.sh
index 5751ee0a08..d170f1265d 100644
--- a/usr/src/tools/env/illumos.sh
+++ b/usr/src/tools/env/illumos.sh
@@ -242,3 +242,9 @@ export ENABLE_SMB_PRINTING=
#export PERL_VERSION=5.16.1
#export PERL_ARCH=i86pc-solaris-thread-multi-64int
#export PERL_PKGVERS=-5161
+
+#
+# These checks ensure that if we accidentally run a program linked against the
+# proto area, that we then fail the build.
+#
+export LD_TOXIC_PATH="$ROOT/lib:$ROOT/usr/lib"