summaryrefslogtreecommitdiff
path: root/etc/scons
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-04-07 21:06:55 -0400
committerAndrew Morrow <acm@mongodb.com>2015-04-11 09:59:59 -0400
commitc24e4b657c858a037fb3a7423493fc5ae3dfc03f (patch)
treecf11787d516b7a5fe22cfba11dfc2b1421be1c40 /etc/scons
parent328aa5b207117e6ef09605b732ff94f782af5c36 (diff)
downloadmongo-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.vars6
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']