9c54357b13
Scons normally constructs a new clean environment for build commands; this is not necessary in the RPM environment, when the environment is already standardized, and makes things work less reliably.
13 lines
391 B
Diff
13 lines
391 B
Diff
diff -up SConstruct.path SConstruct
|
|
--- SConstruct.path 2019-01-15 16:29:57.084998841 +0000
|
|
+++ SConstruct 2019-01-15 16:33:21.014998063 +0000
|
|
@@ -1,7 +1,7 @@
|
|
import os
|
|
|
|
# Load any environment variables that alter the build.
|
|
-env = Environment()
|
|
+env = Environment(ENV = os.environ)
|
|
if 'CCFLAGS' in os.environ:
|
|
env.Append(CCFLAGS = os.environ['CCFLAGS'])
|
|
if 'CXXFLAGS' in os.environ:
|