Make sysctl name2oid shared-locked as well.

This is a follow-up to r273401.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273403 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
The dependencies are computed with CC even if sources are C++, when building
when building with an external gcc, we want to be able to pass the path to
the libc++ headers so dependencies are correctly computed for C++ source files.
Add a DEPFLAGS for that purpose

Reviewed by:	imp


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273404 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
When using an external toolchain note that gcc 4.8+ supports C++11

Submitted by:	imp


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273405 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Always use libc++ as the default c++ stack when building with an external gcc 4.8+
While here disable building gcc from base when using gcc 4.8+

Reviewed by:	imp


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273406 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f