commit 08f71f59
scons now respects the CXX environment as it is supposed to do
Changed files
| M | SConstruct before |
diff --git a/SConstruct b/SConstruct
index 8f28133..5b55781 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1,3 +1,4 @@
+import os
# Option #
opts = Options(args = ARGUMENTS)
opts.Add('destdir', 'Staging area to install BlockAttack to. Useful for packagers.', '')
@@ -5,6 +6,8 @@ opts.Add('prefix', 'Destination directory', '/usr/local')
opts.Add('sharedir', 'Directory to use to store data file', '$prefix/share/blockattack')
opts.Add('bindir', 'Directory to use to store data file', '$prefix/bin')
opts.Add('mandir', 'Directory to use to store data file', '$prefix/share/man')
+opts.Add('CXX', 'C++ compiler to use', os.environ['CXX'])
+
# Copy Build Environment #
env = Environment(options = opts)