From bebea87284a3039506f7f502ac85d02f68c9e8d2 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Wed, 15 Dec 2010 01:22:05 +0000 Subject: [PATCH] llvmc: Forward -march/-mcpu/-mtune to as & ld. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121823 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvmc/src/Base.td.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/llvmc/src/Base.td.in b/tools/llvmc/src/Base.td.in index efb259fbe01..150829da56b 100644 --- a/tools/llvmc/src/Base.td.in +++ b/tools/llvmc/src/Base.td.in @@ -276,6 +276,9 @@ def llvm_gcc_assembler : Tool< (switch_on "c"), (stop_compilation), (not_empty "arch"), (forward "arch"), (not_empty "Xassembler"), (forward "Xassembler"), + (not_empty "march"), (forward "march"), + (not_empty "mcpu"), (forward "mcpu"), + (not_empty "mtune"), (forward "mtune"), (switch_on "m32"), (forward "m32"), (switch_on "m64"), (forward "m64"), (not_empty "Wa,"), (forward "Wa,"))) @@ -321,6 +324,9 @@ class llvm_gcc_based_linker : Tool< (not_empty "framework"), (forward "framework"), (not_empty "weak_framework"), (forward "weak_framework"), (not_empty "filelist"), (forward "filelist"), + (not_empty "march"), (forward "march"), + (not_empty "mcpu"), (forward "mcpu"), + (not_empty "mtune"), (forward "mtune"), (switch_on "m32"), (forward "m32"), (switch_on "m64"), (forward "m64"), (not_empty "l"), (forward "l"),