]> git.baikalelectronics.ru Git - kernel.git/commit
x86 kbuild: LLVMLinux: More cc-options added for clang
authorJan-Simon Möller <dl9pf@gmx.de>
Sat, 19 Oct 2013 22:36:47 +0000 (00:36 +0200)
committerBehan Webster <behanw@converseincode.com>
Wed, 9 Apr 2014 20:44:35 +0000 (13:44 -0700)
commit3fc705cfe34ad2c8da3795eb7776b1289e6d5e21
treee92f3b310a5e35682ea2ed4b57c2bdb6d0e52b72
parentd15242043e382febe1760b1efd0f5d550cb4956c
x86 kbuild: LLVMLinux: More cc-options added for clang

Protect more options for x86 with cc-option so that we don't get errors when
using clang instead of gcc.  Add more or different options when using clang as
well. Also need to enforce that SSE is off for clang and the stack is 8-byte
aligned.

Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
arch/x86/Makefile