2011-04-06 11:00:48 +01:00
|
|
|
Get the environment propagated to scons forked childs, and correct the dicom plugin about
|
|
|
|
a typedef of size_t that failed at least on x86_64-linux.
|
|
|
|
|
|
|
|
diff --git a/SConstruct b/SConstruct
|
2017-09-22 12:55:14 +01:00
|
|
|
index 9e752d6..f93f27f 100644
|
2011-04-06 11:00:48 +01:00
|
|
|
--- a/SConstruct
|
|
|
|
+++ b/SConstruct
|
2017-09-22 12:55:14 +01:00
|
|
|
@@ -9,13 +9,7 @@ else:
|
|
|
|
|
|
|
|
commit_id = os.popen('git rev-parse HEAD').read().replace('\n','')
|
2011-04-06 11:00:48 +01:00
|
|
|
|
|
|
|
-env = Environment(LIBPATH=[],
|
2017-09-22 12:55:14 +01:00
|
|
|
- CPPFLAGS = cppflags + ['-Wno-deprecated-declarations',
|
|
|
|
- '-Wno-reorder',
|
|
|
|
- '-Wno-unused-but-set-variable',
|
|
|
|
- '-Wno-unused-function'],
|
|
|
|
- CXXFLAGS=['-std=c++1y']
|
|
|
|
- )
|
2011-04-06 11:00:48 +01:00
|
|
|
+env = Environment(ENV = os.environ)
|
|
|
|
|
|
|
|
env['SBOX'] = False
|
2017-09-22 12:55:14 +01:00
|
|
|
env['COMMITIDSHORT'] = commit_id[0:6]
|