void-packages/srcpkgs/endless-sky/patches/cxx-cross.patch

12 lines
330 B
Diff
Raw Normal View History

2019-06-01 19:23:24 +00:00
--- SConstruct.orig
+++ SConstruct
@@ -2,6 +2,8 @@
# Load environment variables, including some that should be renamed.
env = Environment(ENV = os.environ)
+if 'CXX' in os.environ:
+ env.Replace(CXX = os.environ['CXX'])
if 'CXXFLAGS' in os.environ:
env.Append(CCFLAGS = os.environ['CXXFLAGS'])
if 'LDFLAGS' in os.environ: