Merge branch 'tb/avoid-gcc-on-darwin-10-6'
authorJunio C Hamano <gitster@pobox.com>
Mon, 21 Mar 2016 16:20:13 +0000 (09:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Mar 2016 16:20:13 +0000 (09:20 -0700)
* tb/avoid-gcc-on-darwin-10-6:
Revert "config.mak.uname: use clang for Mac OS X 10.6"

1  2 
config.mak.uname
diff --combined config.mak.uname
index 1139b4400743a8a9a687967a9dff5529d876b0c0,d6f7980bb91ab7d1e4a02a91407bd8e38461671b..fe8096f8a65241760cfdc3dabd4cf63ee412e9ca
@@@ -37,7 -37,6 +37,7 @@@ ifeq ($(uname_S),Linux
        HAVE_CLOCK_GETTIME = YesPlease
        HAVE_CLOCK_MONOTONIC = YesPlease
        HAVE_GETDELIM = YesPlease
 +      SANE_TEXT_GREP=-a
  endif
  ifeq ($(uname_S),GNU/kFreeBSD)
        HAVE_ALLOCA_H = YesPlease
@@@ -103,9 -102,6 +103,6 @@@ ifeq ($(uname_S),Darwin
        ifeq ($(shell expr "$(uname_R)" : '[15]\.'),2)
                NO_STRLCPY = YesPlease
        endif
-       ifeq ($(shell test "`expr "$(uname_R)" : '\([0-9][0-9]*\)\.'`" -eq 10 && echo 1),1)
-               CC = clang
-       endif
        ifeq ($(shell test "`expr "$(uname_R)" : '\([0-9][0-9]*\)\.'`" -ge 11 && echo 1),1)
                HAVE_GETDELIM = YesPlease
        endif