[PATCH] kbuild: Don't pass LDFLAGS to selftest Makefile

2015-03-10 Thread Michael Ellerman
The makefile in arch/x86/Makefile.um sets LDFLAGS and exports it, which is then propagated to the selftest Makefiles and leads to build errors there. The build errors occur because we are passing LDFLAGS to CC, but the option set in Makefile.um (-m elf_x86_64) is not understood by CC. We could fix

[PATCH] kbuild: Don't pass LDFLAGS to selftest Makefile

2015-03-10 Thread Michael Ellerman
The makefile in arch/x86/Makefile.um sets LDFLAGS and exports it, which is then propagated to the selftest Makefiles and leads to build errors there. The build errors occur because we are passing LDFLAGS to CC, but the option set in Makefile.um (-m elf_x86_64) is not understood by CC. We could fix