Skip to content

Commit 23aab60

Browse files
committed
Fix #15
1 parent 4bc38fd commit 23aab60

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,13 @@ LLVM_CONFIG=`which llvm-config-4.0`
170170
HAVE_CLANG_4=false
171171
if [ -z "$CLANG" -o -z "$CLANGXX" -o -z "$LLVM_CONFIG" ]
172172
then
173-
echo -e \
174-
"${GREEN}$0${OFF}: ${YELLOW}warning${OFF}: clang-4.0 is not installed!"
175-
echo -e "${GREEN}$0${OFF}: will try the default clang."
173+
echo -e "${GREEN}$0${OFF}: ${YELLOW}warning${OFF}: one or more of clang-4.0/clang++-4.0/llvm-config-4.0 is not installed!"
174+
echo -e "${GREEN}$0${OFF}: will try gcc."
176175
CLANG=`which gcc`
177176
CLANGXX=`which g++`
178177
if [ -z "$CLANG" -o -z "$CLANGXX" ]
179178
then
180-
echo -e "${GREEN}$0${OFF}: ${RED}ERROR${OFF}: gcc is not installed!"
179+
echo -e "${GREEN}$0${OFF}: ${RED}ERROR${OFF}: one or more of gcc/g++ is not installed!"
181180
exit 1
182181
fi
183182
else

0 commit comments

Comments
 (0)