projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c089b22
)
x86: LLVMLinux: Wrap -mno-80387 with cc-option
author
Behan Webster
<behanw@converseincode.com>
Tue, 22 Apr 2014 05:40:27 +0000
(22:40 -0700)
committer
Ingo Molnar
<mingo@kernel.org>
Tue, 22 Apr 2014 09:41:16 +0000
(11:41 +0200)
Wrap -mno-80387 gcc options with cc-option so they don't break
clang.
Signed-off-by: Behan Webster <behanw@converseincode.com>
Cc: torvalds@linux-foundation.org
Cc: dwmw2@infradead.org
Cc: pageexec@freemail.hu
Link:
http://lkml.kernel.org/r/1398145227-25053-1-git-send-email-behanw@converseincode.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Makefile
patch
|
blob
|
history
diff --git
a/arch/x86/Makefile
b/arch/x86/Makefile
index
d1b7c37
..
ce6ad7e
100644
(file)
--- a/
arch/x86/Makefile
+++ b/
arch/x86/Makefile
@@
-83,7
+83,9
@@
else
KBUILD_CFLAGS += -m64
# Don't autogenerate traditional x87, MMX or SSE instructions
- KBUILD_CFLAGS += -mno-mmx -mno-sse -mno-80387 -mno-fp-ret-in-387
+ KBUILD_CFLAGS += -mno-mmx -mno-sse
+ KBUILD_CFLAGS += $(call cc-option,-mno-80387)
+ KBUILD_CFLAGS += $(call cc-option,-mno-fp-ret-in-387)
# Use -mpreferred-stack-boundary=3 if supported.
KBUILD_CFLAGS += $(call cc-option,-mpreferred-stack-boundary=3)