Re: [PATCH v4 2/9] kbuild: Don't pass LDFLAGS to selftest Makefile

2015-03-13 Thread Shuah Khan
On 03/10/2015 10:05 PM, Michael Ellerman wrote: > 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

Re: [PATCH v4 2/9] kbuild: Don't pass LDFLAGS to selftest Makefile

2015-03-13 Thread Shuah Khan
On 03/10/2015 10:05 PM, Michael Ellerman wrote: 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

Re: [PATCH v4 2/9] kbuild: Don't pass LDFLAGS to selftest Makefile

2015-03-11 Thread Shuah Khan
On 03/10/2015 10:05 PM, Michael Ellerman wrote: > 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

Re: [PATCH v4 2/9] kbuild: Don't pass LDFLAGS to selftest Makefile

2015-03-11 Thread Shuah Khan
On 03/10/2015 10:05 PM, Michael Ellerman wrote: 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

[PATCH v4 2/9] 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 v4 2/9] 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