void-packages/srcpkgs/endless-sky/patches/cxx-cross.patch
2019-06-04 10:51:45 +02:00

11 lines
330 B
Diff

--- 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: