STYLE: update some instructions in makeLLVM

This commit is contained in:
mark
2016-06-30 15:55:20 +02:00
parent 68b7b8c135
commit 7ec9f0713f
7 changed files with 48 additions and 26 deletions

View File

@ -58,11 +58,11 @@ options:
USAGE
exit 1
}
#------------------------------------------------------------------------------
# ensure CMake gets the correct C++ compiler
# ensure CMake gets the correct /CC++ compiler
[ -n "$WM_CC" ] && export CC="$WM_CC"
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
[ -n "$WM_CC" ] && export CC="$WM_CC"
# parse options
while [ "$#" -gt 0 ]
@ -72,8 +72,8 @@ do
usage
;;
-gcc)
export CC=gcc # use gcc
export CXX=g++ # use g++
export CC=gcc # use gcc/g++
export CXX=g++
;;
cmake-[1-9]*)
cmakePACKAGE="${1%%/}"