Skip to content

Commit fc69b18

Browse files
1 parent 0b16f83 commit fc69b18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nvm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,11 +1848,11 @@ nvm_install_source() {
18481848

18491849
local make
18501850
make='make'
1851-
if [ "${NVM_OS}" = 'freebsd' ]; then
1851+
if [ "${NVM_OS}" = 'freebsd' ] || [ "${NVM_OS}" = 'aix' ]; then
18521852
make='gmake'
1853+
fi
1854+
if [ "${NVM_OS}" = 'freebsd' ] || [ "${NVM_OS}" = 'darwin' ]; then
18531855
[ -z "${CXX-}" ] && MAKE_CXX='CC=cc CXX=c++'
1854-
elif [ "${NVM_OS}" = 'aix' ]; then
1855-
make='gmake'
18561856
fi
18571857
if nvm_has "clang++" && nvm_has "clang" && nvm_version_greater_than_or_equal_to nvm_clang_version 3.5 \
18581858
&& [ -z "${CC-}" ] && [ -z "${CXX-}" ] ; then

0 commit comments

Comments
 (0)