endless-sky/endless-sky-0.9.8-environment.patch
Owen W. Taylor 9c54357b13 Fix compilation with CPLUS_INCLUDE_PATH set for Flatpak builds
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.
2019-01-15 16:45:25 +00:00

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: