File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -560,10 +560,10 @@ then
560
560
step_msg " on OS X 10.9, forcing use of clang"
561
561
CFG_ENABLE_CLANG=1
562
562
putvar CFG_ENABLE_CLANG
563
- else
564
- # on OS X, with xcode 5 and newer, certain developers may have
563
+ else
564
+ # on OS X, with xcode 5 and newer, certain developers may have
565
565
# cc, gcc and g++ point to a mixture of clang and gcc
566
- # if so, this will create very strange build errors
566
+ # if so, this will create very strange build errors
567
567
# this last stanza is to detect some such problems and save the future rust
568
568
# contributor some time solving that issue.
569
569
# this detection could be generalized to other OSes aside from OS X
576
576
# note that for xcode 5, g++ points to clang, not clang++
577
577
if ! (( chk_cc gcc clang && chk_cc g++ clang) ||
578
578
(chk_cc gcc gcc &&( chk_cc g++ g++ || chk g++ gcc)) ) then
579
- err " the gcc and g++ in your path point to different compilers.
580
- Check which versions are in your path with cc --version and g++ --version.
579
+ err " the gcc and g++ in your path point to different compilers.
580
+ Check which versions are in your path with cc --version and g++ --version.
581
581
To resolve this problem, either fix your PATH or run configure with --enable-clang"
582
582
fi
583
583
You can’t perform that action at this time.
0 commit comments