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 ecfec4d795..162f1f702f 100644
--- a/usr/src/tools/env/illumos.sh
+++ b/usr/src/tools/env/illumos.sh
@@ -229,3 +229,9 @@ export SPRO_VROOT="$SPRO_ROOT"
# Uncomment this to disable support for SMB printing.
# export ENABLE_SMB_PRINTING='#'
+
+#
+# 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"