diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-04-07 21:06:55 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-04-11 09:59:59 -0400 |
commit | c24e4b657c858a037fb3a7423493fc5ae3dfc03f (patch) | |
tree | cf11787d516b7a5fe22cfba11dfc2b1421be1c40 /etc/scons | |
parent | 328aa5b207117e6ef09605b732ff94f782af5c36 (diff) | |
download | mongo-c24e4b657c858a037fb3a7423493fc5ae3dfc03f.tar.gz |
SERVER-17781 Customize C and C++ compiler with Variables not options
Diffstat (limited to 'etc/scons')
-rw-r--r-- | etc/scons/compilers_from_env.vars | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/scons/compilers_from_env.vars b/etc/scons/compilers_from_env.vars new file mode 100644 index 00000000000..b2e87b29501 --- /dev/null +++ b/etc/scons/compilers_from_env.vars @@ -0,0 +1,6 @@ +import os + +# Causes SCons to set the C and C++ compilers via the CC and CXX shell environment variables + +CC=os.environ['CC'] +CXX=os.environ['CXX'] |