Unverified Commit 51c8f9cf authored by David McFarland's avatar David McFarland Committed by GitHub
Browse files

godot: fix obj being copied to output (#444385)

parents 7b38f24f 67eb0f04
Loading
Loading
Loading
Loading
+33 −28
Original line number Diff line number Diff line
@@ -342,7 +342,8 @@ let
        '';

        # From: https://github.com/godotengine/godot/blob/4.2.2-stable/SConstruct
        sconsFlags = mkSconsFlagsFromAttrSet {
        sconsFlags = mkSconsFlagsFromAttrSet (
          {
            # Options from 'SConstruct'
            precision = withPrecision; # Floating-point precision level
            production = true; # Set defaults to build Godot for use in production
@@ -369,7 +370,11 @@ let
            linkflags = "-Wl,--build-id";

            use_sowrap = false;
        };
          }
          // lib.optionalAttrs (lib.versionAtLeast version "4.5") {
            redirect_build_objects = false; # Avoid copying build objects to output
          }
        );

        enableParallelBuilding = true;