Re: [RFC] kbuild: fix ld-option function

2013-04-03 Thread Rob Landley
On 04/02/2013 12:13:42 PM, Antony Pavlov wrote: The kbuild's ld-option function is broken because the command $(CC) /dev/null -c -o "$$TMPO" does not create object file! Could you glue the doc fix to this one and submit then as one patch to the kbuild guys, please? Thanks, Rob-- To unsub

[RFC] kbuild: fix ld-option function

2013-04-02 Thread Antony Pavlov
The kbuild's ld-option function is broken because the command $(CC) /dev/null -c -o "$$TMPO" does not create object file! I have used a relatively old mips gcc 3.4.6 cross-compiler and a relatively new gcc 4.7.2 to check this fact but the results are the same. EXAMPLE: $ rm /tmp/1.o $ mips-