Skip to content
Snippets Groups Projects
Forked from Hammer / hammer
77 commits behind the upstream repository.
  • Sven M. Hallberg's avatar
    add clang to tools if requested (or on Darwin) · d79d63d7
    Sven M. Hallberg authored
    clang appears to require -fPIC for shared objects on most platforms. the
    'clang' tool adds the flag when appropriate. however, scons never selects the
    clang tool automatically!
    
    so we add the tool ourselves if CC=clang is set or generally on Darwin.
    
    ideally, scons would know and handle all this, but at the time of writing
    (scons v4.3.0), it does not.
    d79d63d7
    History
SConstruct 6.72 KiB