Skip to content

Commit

Permalink
Merge pull request #1139 from Trey2k/master
Browse files Browse the repository at this point in the history
Prepend PATH to scons env to allow use of buildroot
  • Loading branch information
akien-mga authored Jun 15, 2023
2 parents be25a50 + 6f7e80b commit 1bc9ca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ else:
# Default tools with no platform defaults to gnu toolchain.
# We apply platform specific toolchains via our custom tools.
env = Environment(tools=["default"], PLATFORM="")
env.PrependENVPath("PATH", os.getenv("PATH"))

# Default num_jobs to local cpu count if not user specified.
# SCons has a peculiarity where user-specified options won't be overridden
Expand Down

0 comments on commit 1bc9ca7

Please sign in to comment.