diff options
Diffstat (limited to 'usr/src/tools/env/illumos.sh')
-rw-r--r-- | usr/src/tools/env/illumos.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/tools/env/illumos.sh b/usr/src/tools/env/illumos.sh index 08765b1bc7..30148be6ef 100644 --- a/usr/src/tools/env/illumos.sh +++ b/usr/src/tools/env/illumos.sh @@ -287,6 +287,12 @@ export SPRO_VROOT="$SPRO_ROOT" # if the 'N' option is not specified, is to run this test. #CHECK_PATHS='y' +# +# 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" + if [[ "$ENABLE_SMATCH" == "1" ]]; then SMATCHBIN=$CODEMGR_WS/usr/src/tools/proto/root_$MACH-nd/opt/onbld/bin/$MACH/smatch export SHADOW_CCS="$SHADOW_CCS smatch,$SMATCHBIN,smatch" |