Skip to content
Snippets Groups Projects
Commit d79d63d7 authored by Sven M. Hallberg's avatar Sven M. Hallberg
Browse files

add clang to tools if requested (or on Darwin)

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.
parent 75aa06ec
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment