summaryrefslogtreecommitdiff
path: root/math/gringo/files/patch-SConstruct
blob: 3d488727f4f8f739ea777b09f391ae236f52440d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- SConstruct.orig	2015-07-13 17:25:17 UTC
+++ SConstruct
@@ -19,7 +19,7 @@
 
 # }}}
 
-from os import mkdir
+from os import mkdir, environ
 from os.path import join, exists
 
 if not exists("build"): mkdir("build")
@@ -52,7 +52,7 @@ opts.AddVariables(
     ('WITH_CPPUNIT'  , 'enable target test, running unit tests using cppunit; None, "auto", or library name or test'),
     )
 
-env = Environment()
+env = Environment(ENV = environ)
 env['BISON']          = 'bison'
 env['RE2C']           = 're2c'
 env['CXX']            = 'g++'