Skip to content
Myr

[New] `nvm install -s`: Use clang as C/C++ compiler if detected.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes #902.

authored by Peter Dave Hello · committed by Jordan Harband · parent 61ae478 · Browse files · 1 file+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:nvm.sh+4 added
1852 unmodified lines
1853 MAKE_CXX='CXX=c++' 1854 elif [ "${NVM_OS}" = 'aix' ]; then1855 make='gmake'1856 fi1857 if nvm_has "clang++" && nvm_has "clang" ; then1858 nvm_echo "Clang detected! Use Clang as c/c++ compiler!"1859 MAKE_CXX='CC=clang CXX=clang++'1860 fi18611862 local tar_compression_flag1863 tar_compression_flag='z'1864 if nvm_supports_xz "${VERSION}"; then
1404 unmodified lines