diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2014-09-10 18:05:39 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-09-16 10:33:02 +0200 |
commit | 5c630089442c2e3482855c0849fea53abded81e2 (patch) | |
tree | 061226fd6f3c1fff205c01c648f90be199de82e3 /arch/tile/kernel/vmlinux.lds.S | |
parent | Linux 3.17-rc5 (diff) | |
download | linux-5c630089442c2e3482855c0849fea53abded81e2.tar.xz linux-5c630089442c2e3482855c0849fea53abded81e2.zip |
x86/kbuild: Eliminate duplicate command line options
The options -mno-mmx and -mno-sse are unconditionally added to
KBUILD_CFLAGS in both branches of an ifeq and through a
$(cc-option) further down. We can safely remove the first
instances.
In fact, since the -mno-mmx and -mno-sse options were introduced
simultaneous with the other two options in the $(cc-option)
[according to http://www.gnu.org/software/gcc/gcc-3.1/changes.html],
and since the former were unconditionally used, one can deduce that
only gcc versions knowing about all four are supported. So also
eliminate the $(cc-option) wrap.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Peter Foley <pefoley2@pefoley.com>
Link: http://lkml.kernel.org/r/1410365139-24440-1-git-send-email-linux@rasmusvillemoes.dk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/tile/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions