git repos / blockattack-game

commit 08f71f59

sago007 · 2015-11-10 19:12
08f71f59ac8ea58a5ae8029f41162e6bb32cb759 patch · browse files
parent 1b35580a47df897566bbc9ef7dcc432dd740d409

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)