x86: Detect stack protector for i386 builds on x86_64
authorMichal Schmidt <mschmidt@redhat.com>
Sat, 29 Aug 2009 16:27:18 +0000 (18:27 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 30 Aug 2009 18:39:48 +0000 (20:39 +0200)
commit23386d63bbb3199cf247313ec088878d72debcfd
tree525a042d38dd96a763aea81e587beeae7c63868b
parentab94fcf528d127fcb490175512a8910f37e5b346
x86: Detect stack protector for i386 builds on x86_64

Stack protector support was not detected when building with
ARCH=i386 on x86_64 systems:

  arch/x86/Makefile:80: stack protector enabled but no compiler support

The "-m32" argument needs to be passed to the detection script.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Arjan van de Ven <arjan@infradead.org>
LKML-Reference: <20090829182718.10f566b1@leela>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
--
arch/x86/Makefile