Update to rscons 3.0.2

This commit is contained in:
Josh Holtrop 2022-03-14 00:51:54 -04:00
parent 54451bcf5b
commit 3d3a433800
2 changed files with 2 additions and 4 deletions

View File

@ -45,7 +45,6 @@ end
# FontGen Environment # FontGen Environment
fontgen_env = env "fontgen", use: "freetype" do |env| fontgen_env = env "fontgen", use: "freetype" do |env|
env["LDCMD"].map! {|v| v == "-of" ? "-o" : v}
env.Program("^/fontgen", glob("src/fontgen/**/*.c")) env.Program("^/fontgen", glob("src/fontgen/**/*.c"))
end end
@ -74,7 +73,6 @@ hel_env = env "hel", use: %w[ldc2 x86_64-w64-mingw32-gcc] do |env|
env.add_builder(Image) env.add_builder(Image)
env["sources"] = glob("src/hel/**/*.d") env["sources"] = glob("src/hel/**/*.d")
env["sources"] += glob("uefi-d/source/**/*.d") env["sources"] += glob("uefi-d/source/**/*.d")
env["DC"] = "ldc2"
env["DFLAGS"] += %w[-mtriple=x86_64-unknown-windows-coff --betterC -release -O3] env["DFLAGS"] += %w[-mtriple=x86_64-unknown-windows-coff --betterC -release -O3]
env["D_IMPORT_PATH"] += %w[src uefi-d/source] env["D_IMPORT_PATH"] += %w[src uefi-d/source]
env["LD"] = "x86_64-w64-mingw32-gcc" env["LD"] = "x86_64-w64-mingw32-gcc"

4
rscons

File diff suppressed because one or more lines are too long