kbuild: set the initial value of subdir-rustflags-y
PATCH 1/1 kbuild: set the initial value of subdir-rustflags-y
Initialize subdir-rustflags-y to an empty value to prevent it from being inadvertently affected by an environment variable of the same name.
--- scripts/Makefile.build | 1 + 1 file changed, 1 insertion(+)
scripts/Makefile.build +1 -0
@@ -28,6 +28,7 @@ ldflags-y := subdir-asflags-y := subdir-ccflags-y := +subdir-rustflags-y := # Read auto.conf if it exists, otherwise ignore -include $(objtree)/include/config/auto.conf
Signature · 1 line
2.54.0
Quoted 5 lines · Yuntao Wang
Initialize subdir-rustflags-y to an empty value to prevent it from being inadvertently affected by an environment variable of the same name.
Signed-off-by Yuntao Wang <[email protected]>
Sounds good, thanks!
I guess we can take this via either Kbuild or Rust -- happy either way.
Cheers,
Miguel
Nicolas Schier
maintainerQuoted 1 line · Yuntao Wang
kbuild: set the initial value of subdir-rustflags-y
Applied to kbuild/linux.git (kbuild-next-unstable), thanks!
[1/1] kbuild: set the initial value of subdir-rustflags-y
https://git.kernel.org/kbuild/c/2c5a2273
Please look out for regression or issue reports or other follow up comments, as they may result in the patch/series getting dropped, reverted or modified (e.g. trailers).
Patches applied to the kbuild-next-unstable branch are accepted pending wider testing in linux-next and any post-commit review; they will generally be moved to the kbuild-next branch in about a week if no issues are found.
Best regards,
Signature · 1 line
Nicolas