Print this page
4526 nightly contains a great deal of effectively dead code
*** 162,171 ****
--- 162,172 ----
LC_NUMERIC=C \
LC_TIME=C
# clear environment variables we know to be bad for the build
unset \
+ CH \
LD_OPTIONS \
LD_LIBRARY_PATH \
LD_AUDIT \
LD_BIND_NOW \
LD_BREADTH \
*** 225,239 ****
[[ -f "${CODEMGR_WS}/usr/src/Makefile" ]] || fatal_error "Error: ${CODEMGR_WS}/usr/src/Makefile not found."
# must match the getopts in nightly.sh
OPTIND=1
NIGHTLY_OPTIONS="-${NIGHTLY_OPTIONS#-}"
! while getopts '+0AaBCDdFfGIilMmNnopRrtUuWwXxz' FLAG "$NIGHTLY_OPTIONS"
do
case "$FLAG" in
- o) flags.o=true ;;
- +o) flags.o=false ;;
t) flags.t=true ;;
+t) flags.t=false ;;
*) ;;
esac
done
--- 226,238 ----
[[ -f "${CODEMGR_WS}/usr/src/Makefile" ]] || fatal_error "Error: ${CODEMGR_WS}/usr/src/Makefile not found."
# must match the getopts in nightly.sh
OPTIND=1
NIGHTLY_OPTIONS="-${NIGHTLY_OPTIONS#-}"
! while getopts '+0ABCDdFfGIilMmNnpRrtUuw' FLAG "$NIGHTLY_OPTIONS"
do
case "$FLAG" in
t) flags.t=true ;;
+t) flags.t=false ;;
*) ;;
esac
done
*** 301,323 ****
export PATH
fi
export DMAKE_MODE=${DMAKE_MODE:-parallel}
- if "${flags.o}" ; then
- export CH=
- else
- unset CH
- fi
DEF_STRIPFLAG="-s"
TMPDIR="/tmp"
- # "o_FLAG" is used by "nightly.sh" (it may be useful to rename this
- # variable using a more descriptive name later)
- export o_FLAG="$(${flags.o} && print 'y' || print 'n')"
-
export \
PATH TMPDIR \
POUND_SIGN \
DEF_STRIPFLAG \
RELEASE_DATE
--- 300,313 ----