Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solaris: disable deprecated SHOPT_PFSH by default
Solaris /bin/ksh disables the SHOPT_PFSH compile option ("solaris exec_attr(4) profile execution") with a patch. Since this option applies to Solaris and variants only, let's upstream that change. (Solaris now provides pfksh93 as a wrapper around ksh93, and does the same for other shells, so profiling functionality is no longer ksh-specific.) If you want to re-enable it, add -DSHOPT_PFSH to your $CCFLAGS. Original patch: https://github.com/oracle/solaris-userland/blob/master/components/ksh93/patches/150-CR7168611.patch src/cmd/ksh93/Makefile: - Add note that edits in Makefile are ineffective as we do not ship nmake. - Disable SHOPT_PFSH, cosmetically. src/cmd/ksh93/Mamfile: - Remove -DSHOPT_PFSH from all compiler commands.
- Loading branch information