Skip to content
Commit ccf9ff52 authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds
Browse files

[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: default avatarIngo Molnar <mingo@elte.hu>
Please-Use-Me-More: make randconfig
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6b3d1a95
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment