Skip to content
Snippets Groups Projects
Select Git revision
7 results Searching

config.mak.uname

  • Torsten Bögershausen's avatar
    2d2cf4ce
    config.mak.uname: use clang for Mac OS X 10.6 · 2d2cf4ce
    Torsten Bögershausen authored
    
    Gcc under Mac OX 10.6 throws an internal compiler error:
    
    CC combine-diff.o
        combine-diff.c: In function ‘diff_tree_combined’:
        combine-diff.c:1391: internal compiler error: Segmentation fault
    
    while attempting to build Git at 5b442c4f (tree-diff: catch integer
    overflow in combine_diff_path allocation, 2016-02-19).
    
    As clang that ships with the version does not have the same bug,
    make Git compile under Mac OS X 10.6 by using clang instead of gcc
    to work this around, as it is unlikely that we will see fixed GCC
    on that platform.
    
    Later versions of Mac OSX/Xcode only provide clang, and gcc is a
    wrapper to it.
    
    Signed-off-by: default avatarTorsten Bögershausen <tboegi@web.de>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    2d2cf4ce
    History
    config.mak.uname: use clang for Mac OS X 10.6
    Torsten Bögershausen authored
    
    Gcc under Mac OX 10.6 throws an internal compiler error:
    
    CC combine-diff.o
        combine-diff.c: In function ‘diff_tree_combined’:
        combine-diff.c:1391: internal compiler error: Segmentation fault
    
    while attempting to build Git at 5b442c4f (tree-diff: catch integer
    overflow in combine_diff_path allocation, 2016-02-19).
    
    As clang that ships with the version does not have the same bug,
    make Git compile under Mac OS X 10.6 by using clang instead of gcc
    to work this around, as it is unlikely that we will see fixed GCC
    on that platform.
    
    Later versions of Mac OSX/Xcode only provide clang, and gcc is a
    wrapper to it.
    
    Signed-off-by: default avatarTorsten Bögershausen <tboegi@web.de>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>