Revert "kbuild, rust: use -fremap-path-prefix to make paths relative"
This reverts commit dbdffaf5. --remap-path-prefix breaks the ability of debuggers to find the source file corresponding to object files. As there is no simple or uniform way to specify the source directory explicitly, this breaks developers workflows. Revert the unconditional usage of --remap-path-prefix, equivalent to the same change for -ffile-prefix-map in KBUILD_CPPFLAGS. Fixes: dbdffaf5 ("kbuild, rust: use -fremap-path-prefix to make paths relative") Signed-off-by:Thomas Weißschuh <linux@weissschuh.net> Acked-by:
Miguel Ojeda <ojeda@kernel.org> Signed-off-by:
Masahiro Yamada <masahiroy@kernel.org>
Loading
Please register or sign in to comment