]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: fix CONFIG_CC_STACKPROTECTOR build bug
authorIngo Molnar <mingo@elte.hu>
Thu, 16 Nov 2006 10:49:16 +0000 (11:49 +0100)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 16 Nov 2006 22:00:25 +0000 (14:00 -0800)
commit1bc1293e2839c753aab4d0cc57db4f544b1b97c0
treeacdfdb390618e9feeac286da141a23e3a87885de
parentae2f80a14e4985aafd44fd4b31ed07e183efbf6c
[PATCH] x86_64: fix CONFIG_CC_STACKPROTECTOR build bug

on x86_64, the CONFIG_CC_STACKPROTECTOR build fails if used in a
distcc setup that has "CC" defined to "distcc gcc":

 gcc: gcc: linker input file unused because linking not done
 gcc: gcc: linker input file unused because linking not done
 gcc: gcc: linker input file unused because linking not done

this is because the gcc-x86_64-has-stack-protector.sh script
has a 2-parameters assumption. Fix this by passing $(CC) as
a single parameter.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Please-Use-Me-More: make randconfig
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/Makefile