Linus Torvalds writes: (Summary)
Literally just removing that -C fixes the problem:
Literally just removing that -C fixes the problem:
- cmd_cpp_lds_S = $(CPP) $(cpp_flags) -P -C -U$(ARCH) \ + cmd_cpp_lds_S = $(CPP) $(cpp_flags) -P -U$(ARCH) \ + cmd_cpp_lds_S = $(CPP) $(cpp_flags) -P -U$(ARCH) \ and there is no reason to keep them that I can possibly see. The "-C" was added in 51b563fc93c8 ("arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0"), but it came from our old
4.0"), but it came from our old
export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)
export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)
which predates the git history.
which predates the git history.
Hmm..
Literally just removing that -C fixes the problem:
- cmd_cpp_lds_S = $(CPP) $(cpp_flags) -P -C -U$(ARCH) \ + cmd_cpp_lds_S = $(CPP) $(cpp_flags) -P -U$(ARCH) \ + cmd_cpp_lds_S = $(CPP) $(cpp_flags) -P -U$(ARCH) \ and there is no reason to keep them that I can possibly see. The "-C" was added in 51b563fc93c8 ("arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0"), but it came from our old
4.0"), but it came from our old
export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)
export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)
which predates the git history.
which predates the git history.
Hmm..